I see now that I forgot to add the important comment that these machines do not have internet access. Hence I would need to copy the selinux-python rpm to the target machines, which it would seem that I cannot do until I have that rpm installed. Or am I missing something? I could just scp the file to the targets, then install it with ansible, that would make things a little easier.
On Monday, February 29, 2016 at 3:29:03 PM UTC-5, Brian Coca wrote: > > 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/9a78c46c-cae1-4b08-8a98-610f1353b399%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
