diff options
author | 2019-03-23 14:09:41 +0200 | |
---|---|---|
committer | 2019-04-01 20:41:52 +0300 | |
commit | 9742e2bfb289d0f46ae7dbe25c91009785ebe6a3 (patch) | |
tree | 0978054aebb2209f4059cc1e165509768f944b90 /ansible/roles/nfs/templates | |
parent | 11ce29363400bfcc909c9b94eda01aeafc6c17dc (diff) |
Molecule test for nfs role
Issue-ID: OOM-1756
Change-Id: I2e1aef3296689c284a4b530e6a2022302c7b86f7
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/roles/nfs/templates')
-rw-r--r-- | ansible/roles/nfs/templates/exports.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/nfs/templates/exports.j2 b/ansible/roles/nfs/templates/exports.j2 index c605d9b8..465c9d21 100644 --- a/ansible/roles/nfs/templates/exports.j2 +++ b/ansible/roles/nfs/templates/exports.j2 @@ -1,3 +1,3 @@ -{% for host in groups.kubernetes -%} +{% for host in groups.kubernetes | difference(groups['nfs-server']) -%} {{ nfs_mount_path }} {{ hostvars[host].ansible_host | default(hostvars[host].inventory_hostname) }}(rw,sync,no_root_squash,no_subtree_check) {% endfor %} |