Ansible Collection for Posix
Find a file
Abhijeet Kasurde 75a5f83602
Partially revert "mount: Check if src exists before mounted (ansible/ansible#61752)" (#33)
This reverts part of ansible commit 72023d7462e78635264fd12bfdb23894b4163cba.

The immediate reason is that it breaks mounts where src is not a path.
Examples of such mounts are network-based filesystems such as nfs, cifs,
glusterfs, ceph, virtual filesystems such as tmpfs or overlayfs, and
also UUID-based mounts. It is too hard to come with an exhaustive list,
especially if we take non-Linux systems into account, so don't even try.

Additionally, it did not really fix the issue (ansible/ansible#59183) that
it intended to fix, because the mount could fail but leave a non-working
fstab entry for reasons other than non-existing src path.

Restore fstab and remove the mount point after a failed mount

Add a reminder that not only devices can be mounted

Fixes: ansible/ansible#65855
Fixes: ansible/ansible#67588
Fixes: ansible/ansible#67966

Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

Co-authored-by: Alexander E. Patrakov <patrakov@gmail.com>
2020-05-29 15:34:53 -05:00
.github Bootstrap Collection (#1) 2020-03-13 09:12:26 +00:00
hacking Migrate hacking/cgroup_perf_recap_graph.py (#12) 2020-04-22 23:05:09 -05:00
plugins Partially revert "mount: Check if src exists before mounted (ansible/ansible#61752)" (#33) 2020-05-29 15:34:53 -05:00
tests Partially revert "mount: Check if src exists before mounted (ansible/ansible#61752)" (#33) 2020-05-29 15:34:53 -05:00
.gitignore Initial commit 2020-03-09 13:15:28 +00:00
COPYING Initial commit 2020-03-09 13:15:28 +00:00
galaxy.yml Adding labels to the tags section (#19) 2020-04-29 15:16:37 -05:00
README.md README.md (#4) 2020-03-18 20:30:50 +00:00
shippable.yml Green CI for ansible.posix (#2) 2020-03-18 11:19:19 +00:00

ansible.posix

Run Status Codecov

Tested with Ansible

  • ansible-base 2.10 (devel)

External requirements

None

Included content

Using this collection

See Ansible Using collections for more details.

Contributing to this collection

Release notes

  • 0.1.1 Initial stable build
  • 0.1.0 Internal only build

Roadmap

More information

Licensing

GNU General Public License v3.0 or later.

See LICENCE to see the full text.