2023-12-18 11:34:35 +01:00
|
|
|
- name: NFS | Assert variables | test env_nfs_all
|
|
|
|
ansible.builtin.assert:
|
|
|
|
that:
|
|
|
|
- env_nfs_all is defined
|
|
|
|
- env_nfs_all.configure is defined
|
|
|
|
- env_nfs_all.configure is boolean
|
2023-12-18 11:34:35 +01:00
|
|
|
- not env_nfs_all.configure or env_nfs.server is defined
|
|
|
|
- not env_nfs_all.configure or env_nfs.server is string
|
2023-12-18 11:34:35 +01:00
|
|
|
fail_msg:
|
|
|
|
- Please configure your NFS manually
|