PR #370: Style cleanup.

This commit is contained in:
Jeff Geerling 2022-09-05 21:32:10 -05:00
parent 9f8ea35051
commit 928fe893e9
2 changed files with 4 additions and 5 deletions

View File

@ -6,6 +6,5 @@
append: true
with_items: "{{ docker_users }}"
- name: Reset ssh connection to apply users changes
meta:
reset_connection
- name: Reset ssh connection to apply user changes.
meta: reset_connection

View File

@ -79,14 +79,14 @@
- include_tasks: docker-compose.yml
when: docker_install_compose | bool
- name: Get all docker group infos
- name: Get docker group info using getent.
getent:
database: group
key: docker
split: ':'
when: docker_users | length > 0
- name: Check there is at least one user to add to docker group
- name: Check if there are any users to add to the docker group.
set_fact:
at_least_one_user_to_modify: true
when: