1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/examples
Anhad Jai Singh 13dd4b108c Add 9p to list of special filesystems for selinux
When trying to copy files onto a Virtio-9p filesystem[1][2] int the host
using something like the template module, ansible throws an error that
says something like:

    invalid selinux context: [Errno 95] Operation not supported

Adding 9p to the list of exceptional filesystems forces ansible to not
try to set an SELinux context on copied files.

[1] such as one mounted in a qemu VM, using:

    # http://www.linux-kvm.org/page/9p_virtio
    qemu-kvm [...] -virtfs local,id=apps_dev,path=/host/dir,security_model=passthrough,mount_tag=host_dir

[2] https://www.kernel.org/doc/Documentation/filesystems/9p.txt

Change-Id: Ia868dadce1ffd2b5bebf5ee1804501676e9d7e5f
2017-02-27 09:13:28 -05:00
..
playbooks Wrong target for link? 2013-07-24 15:36:21 -07:00
scripts Remove useless # in comment (#21609) 2017-02-18 11:43:04 +00:00
ansible.cfg Add 9p to list of special filesystems for selinux 2017-02-27 09:13:28 -05:00
DOCUMENTATION.yml How to document your module (#21021) 2017-02-10 12:15:55 +00:00
hosts comment examples in default hosts file 2015-12-04 16:24:19 -05:00
hosts.yaml Fix some typos (#16498) 2016-06-29 14:31:25 -04:00
hosts.yml linked cause people forget yaml and yml exist 2016-09-08 14:18:10 -04:00