enable all services are started at boot

This commit is contained in:
Egon Rijpkema
2017-09-29 16:40:38 +02:00
parent 018fdd8bdb
commit 257a384e92
13 changed files with 45 additions and 0 deletions

View File

@ -7,13 +7,18 @@
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: start service at boot.
command: systemctl reenable dockerregistry.service
- name: Copy certificates and passwd file
copy:
src: "{{ item }}"