complete pihole role

This commit is contained in:
vincent 2020-07-05 12:12:10 +02:00
parent 2bd0ecd211
commit 54544a16f8
2 changed files with 4 additions and 0 deletions

View File

@ -6,3 +6,4 @@
append: true
with_items: "{{ docker_users }}"
register: adduser
become: yes

View File

@ -6,13 +6,16 @@
- docker-compose
state: present
notify: restart docker
become: true
- name: Ensure Docker is started and enabled at boot.
service:
name: docker
state: "{{ docker_service_state }}"
enabled: "{{ docker_service_enabled }}"
become: true
- include_tasks: docker-users.yml
when: docker_users | length > 0