You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
524 B

# 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