hpc-cloud/roles/dockerregistry/tasks/main.yml
Egon Rijpkema 86cd68e465 Removed inclusion of docker everywhere
It is now included in the common role itself, which is applied to all.
2017-07-10 09:52:12 +02:00

25 lines
524 B
YAML

# Install a docker based mariadb.
---
- name: install service file.
template:
src: files/dockerregistry.service
dest: /etc/systemd/system/dockerregistry.service
mode: 644
owner: root
group: root
- name: install service file
command: systemctl daemon-reload
- name: make sure service is started
systemd:
name: dockerregistry.service
state: started
- name: Copy certificates and passwd file
copy:
src: "{{ item }}"
dest: /srv/dockerregistry
with_items:
- auth
- certs