So responding the the main points:

- You should not need to do install selinux-python by hand, you could just
use the 'yum' module in a 'boostraping' play (or worst case, 'raw' module).

- The modules shipped with Ansible are all python (version 2), but in
general they can be language independent. Even python3 modules should work
fine.

- The reason Ansible requires the selinux-python module is that otherwise
the template/copy and other file operations will be unable to keep the
correct selinux context when they operate on files. We have made sure the
standard Ansible modules do this correctly, hence the dependency. Other
custom/3rd party modules might not have this dependency, but will probably
cause issues by not preserving the selinux context.

----------
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7f777F4mc-%2Bpdw58USr9deeTzpF34Uebf4QmjB7z4e%3DTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to