The copy module uses the exact same functions for this as other modules.

Could this be a machine where the bindings are yet not installed?



On Sun, Sep 21, 2014 at 10:15 PM, Zhenkai Jiang <[email protected]> wrote:

> I was checking on the node. and yes, i have tried run playbook like
> this... But it's still complaining same error while using copy module.
>
> On Saturday, September 20, 2014 12:12:45 AM UTC+8, Dick Davies wrote:
>>
>> Are you checking on the nodes you're trying to manage, or on the machine
>> that has ansible installed?
>>
>> My guess is you need it on the nodes, so a task above the copy like
>>
>> - name: install selinux bindings
>>   yum: name=libselinux-python state=present
>>
>> will push it out before you need to use it.
>>
>> On 19 September 2014 13:36, Zhenkai Jiang <[email protected]> wrote:
>> >
>> >
>> > I was trying to use copy module which rely on  libselinux-python when
>> > selinux is enabled i think.
>> >
>> > The weird thing is I have checked every single environment, they have
>> > already have latest libselinux-python installed.....
>> >
>> > What can I do now?
>> >
>> > Much appreciated.
>> >
>> > --
>> > 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/
>> 9d47e86d-9213-4d5c-ab42-22f458e00bd5%40googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>>
>  --
> 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/af2a7311-590f-4411-9ba0-e2aa1d5d16d7%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/af2a7311-590f-4411-9ba0-e2aa1d5d16d7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgw1nX8XaZL8V8MuMQUPf%2BiFoRNqvijzzAXjrdBhgdetKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to