Seperate 'nis' and 'samba'.

This commit is contained in:
2019-12-24 17:27:48 +01:00
parent e799dfd227
commit 9f8472ab98
5 changed files with 192 additions and 24 deletions

View File

@ -25,16 +25,26 @@
tags:
- nis-install
# tags supported inside nis_samba_user.yml:
# tags supported inside nis_user.yml:
#
# samba-user
# nis-user
# system-user
- import_tasks: nis_samba_user.yml
- import_tasks: nis_user.yml
when: "groups['nis_server']|string is search(inventory_hostname)"
tags:
- nis-user
# tags supported inside samba_user.yml:
#
# samba-user
- import_tasks: samba_user.yml
when: "groups['samba_server']|string is search(inventory_hostname)"
tags:
- nis-samba-user
# tags supported user-systemfiles.yml:
# profile
- import_tasks: user-systemfiles.yml
when: "groups['nis_server']|string is search(inventory_hostname)"
tags: