Splitt 'nis.yaml' into 'nis-install-client.yml' and 'nis-install-server.yml'. Some more changes..

This commit is contained in:
2019-11-28 11:10:13 +01:00
parent b0d212deec
commit 9b3973d39f
11 changed files with 576 additions and 106 deletions

View File

@@ -24,6 +24,8 @@
mode: '0755'
state: directory
with_items: "{{ nfs_exports }}"
loop_control:
label: '{{ item.path }}'
when:
- "groups['nfs_server']|string is search(inventory_hostname)"
tags:
@@ -66,6 +68,8 @@
passno: "{{ item.passno | default(omit) }}"
state: mounted
loop: "{{ nfs_exports }}"
loop_control:
label: '{{ item.src }}'
when:
- "groups['nfs_client']|string is search(inventory_hostname)"
tags: