diff options
author | Michal Zegan <m.zegan@samsung.com> | 2018-12-19 11:47:30 +0100 |
---|---|---|
committer | Michal Zegan <m.zegan@samsung.com> | 2018-12-19 11:47:30 +0100 |
commit | 261023f9c3c93d9a1c207dfdce841ff5490504d3 (patch) | |
tree | f41458a56303eced02bf1d32f4e6dc961cea8ba8 /ansible/roles/nfs/templates | |
parent | 6d14adbfcc125d3a17dd64ef1da0e3c2df27853f (diff) |
Add ansible nfs role
This commit adds role for creating /dockerdata-nfs
and exporting i over nfs for later use during onap deployment.
Change-Id: I0ea8e858d581534b983eaab6e1ee570068fc623c
Issue-ID: OOM-1551
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/roles/nfs/templates')
-rw-r--r-- | ansible/roles/nfs/templates/exports.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/nfs/templates/exports.j2 b/ansible/roles/nfs/templates/exports.j2 new file mode 100644 index 00000000..1f6956c2 --- /dev/null +++ b/ansible/roles/nfs/templates/exports.j2 @@ -0,0 +1,3 @@ +{% for host in groups.kubernetes[1:] -%} + {{ nfs_mount_path }} {{ hostvars[host].ansible_host }}(rw,sync,no_root_squash,no_subtree_check) +{% endfor %} |