So the current yum module can install from an rpm, even if you cannot use
the copy module you should be able to :

- shell: scp ​selinux-python.xxx.rpm {{inventory_hostname}:/path/to/temp:
  connection: local

- yum: name=/path/to/temp/selinux-python.xxx.rpm

or if you can publish to an internal webserver:

- yum: name=http:/package_source.local/​selinux-python.xxx.rpm


As for the modules themselves, yes, they do get copied to the target host
in a temp dir in the home of the login user, then they get deleted.

selinux-python does NOT give any new privileges to the user, it is just for
managing selinux context of files touched by ansible.


----------
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/CACVha7dOrp4%3DPDYmzzwzeLck-4OX%3DipHc9RuYpEW%3D4bM_e779Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to