ansible.posix/plugins
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
..
action synchronize: Use SSH args from SSH connection plugins (#223) 2021-08-11 10:45:52 +05:30
callback fix skippy callback deprecation warning 2020-08-21 16:24:35 -05:00
module_utils Fix sanity test for modules 2021-03-02 18:53:06 +05:30
modules Add ephemeral state to mount fs without altering fstab 2021-09-12 22:41:55 +02:00
shell csh: Define `ECHO and COMMAND_SEP` 2021-06-09 17:46:09 +05:30