This commit is contained in:
2020-10-01 01:21:46 +02:00
parent 30faa849ac
commit 5aaee7646b
9 changed files with 297 additions and 34 deletions

View File

@ -165,13 +165,23 @@
- root-files-scripts
# tags supported inside sudoers.yml:
# tags supported inside sudoers-pc.yml:
#
# sudoers-remove
# sudoers-file-configuration
# sudoers-global-configuration
- import_tasks: sudoers.yml
- import_tasks: sudoers-pc.yml
when: "groups['client_pc']|string is search(inventory_hostname)"
tags:
- sudoers
# tags supported inside sudoers-server.yml:
#
# sudoers-remove
# sudoers-file-configuration
# sudoers-global-configuration
- import_tasks: sudoers-server.yml
when: "groups['file_server']|string is search(inventory_hostname)"
tags:
- sudoers