Excellent. Thank you.

 

I did copy and then edit the sudo one to meet my needs I believe, unfortunately 
my unfamiliarity with ansible has me at a loss for how to correctly make it 
accessible to the playbook.

 

I placed it here “/usr/share/ansible/plugins/”

And added this to my ansible config:  
ANSIBLE_LIBRARY=$ANSIBLE_LIBRARY:/usr/share/ansible/plugins

 

-bash-4.2$ ls -l /usr/share/ansible/plugins/suexec.py

-rw-r--r--. 1 root root 3526 Feb 12 14:40 /usr/share/ansible/plugins/suexec.py

 

This is what the ansible developer docs suggested or at least was one of the 
suggestions. I clearly missed something though.

 

TASK [Gathering Facts] 
************************************************************************************************************************

fatal: [desktop]: FAILED! => {"msg": "Privilege escalation method not found: 
suexec"}

 

 

Any guidance is greatly appreciated.  Thank you.

 

 

From: ansible-devel@googlegroups.com <ansible-devel@googlegroups.com> On Behalf 
Of Sam Doran
Sent: Thursday, 13 February, 2020 15:11
To: Ansible Development <ansible-devel@googlegroups.com>
Subject: Re: [ansible-devel] Become plugin

 

We unfortunately don't have docs specific to developing become plugins. They 
are pretty straightforward compared to other plugin types, though. I would 
recommend looking at the existing become plugins 
<https://github.com/ansible/ansible/tree/devel/lib/ansible/plugins/become>  to 
get an idea of how to write you own. You can ask development questions here or 
on Freennode IRC in #ansible-devel.

---

 

Respectfully,

 

Sam Doran

 

-- 
You received this message because you are subscribed to a topic in the Google 
Groups "Ansible Development" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/ansible-devel/bKVxmo_5a6M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
ansible-devel+unsubscr...@googlegroups.com 
<mailto:ansible-devel+unsubscr...@googlegroups.com> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/2B3301DB-DF9D-40AA-A6C5-B89B22F36FEB%40redhat.com
 
<https://groups.google.com/d/msgid/ansible-devel/2B3301DB-DF9D-40AA-A6C5-B89B22F36FEB%40redhat.com?utm_medium=email&utm_source=footer>
 .

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/012701d5e2ae%2488e95e80%249abc1b80%24%40gmail.com.

Reply via email to