fix: config ssh client config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-19 17:54:56 +02:00
parent 1cc08cdfbc
commit 26e57d7b6f
7 changed files with 98 additions and 36 deletions

View File

@ -1,15 +1,5 @@
---
- name: Remove unix groups
include_tasks: remove_unix_group.yml
with_dict: "{{ unix_groups }}"
loop_control:
loop_var: unix_group
when: unix_groups is defined and
unix_groups | length > 0 and
unix_group.value.state is defined and
unix_group.value.state == 'absent'
- name: Remove unix user
include_tasks: remove_unix_user.yml
with_dict: "{{ unix_users }}"
@ -20,6 +10,16 @@
unix_user.value.state is defined and
unix_user.value.state == 'absent'
- name: Remove unix groups
include_tasks: remove_unix_group.yml
with_dict: "{{ unix_groups }}"
loop_control:
loop_var: unix_group
when: unix_groups is defined and
unix_groups | length > 0 and
unix_group.value.state is defined and
unix_group.value.state == 'absent'
- name: Create unix groups
include_tasks: create_unix_group.yml
with_dict: "{{ unix_groups }}"