ansible.posix/plugins/modules
NeodymiumFerBore 5c70124433
Add ephemeral state to mount fs without altering fstab
- Edit DOCUMENTATION section to add ephemeral state
- Edit EXAMPLES section to add ephemeral state example
- Add new function `_set_ephemeral_args` to replace `_set_fstab_args` when using ephemeral state
- Add new function `_is_same_mount_src` to determine if the mounted volume on the destination path has the same source than the one supplied to the module
- Add new function `_get_mount_info` to avoid redundant code between functions `get_linux_mounts` and `_is_same_mount_src`
- Modify `get_linux_mount` to use the new function `_get_mount_info`. Behavior is preserved.
- Integrate `ephemeral` parameter treatment into `mounted` treatment, and add `if` statements to avoid IO from/to fstab
- Add `ephemeral` as a possible value for the `state` parameter in `main()`
- Add `required_if` dependencies for `ephemeral` state
2021-09-12 22:41:55 +02:00
..
__init__.py Initial commit 2020-03-09 13:15:28 +00:00
acl.py acl: Add new alias 2021-06-04 16:51:15 +05:30
at.py Append line-separator to the end of command line 2021-05-05 09:35:39 +09:00
authorized_key.py docs(authorized_key): add lookup.url example 2021-09-08 08:00:56 +02:00
firewalld.py Display warning message if wrong parameter set to masquerade or icmp-block-inversion 2021-09-06 09:14:34 +09:00
firewalld_info.py Add new firewalld_info module to ansible.posix collection 2021-07-09 23:47:12 +09:00
mount.py Add ephemeral state to mount fs without altering fstab 2021-09-12 22:41:55 +02:00
patch.py patch - add line break to fix pep8 error 2020-07-12 12:09:52 +02:00
seboolean.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
selinux.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30
synchronize.py synchronize: Use SSH args from SSH connection plugins (#223) 2021-08-11 10:45:52 +05:30
sysctl.py Fix sanity test for modules 2021-03-02 18:53:06 +05:30