[ansible-project] "become" not working on a handler

2017-02-02 Thread Paul Mackay
I'm testing on Ubuntu 16.04 with Ansible v2.2.1.0. I have a service (re)start handler that has "become: yes" but it is reporting: Interactive authentication required. and failing. I've seen https://github.com/ansible/ansible/issues/17490 which is heavily mentioned in relation to this but it l

[ansible-project] Recommendations for use of "become" with roles

2016-07-11 Thread Paul Mackay
Is there any best practice around the use and/or documentation of sudo/become with roles? These are the questions I'm unsure about and have not seen any related guidelines: - If a role requires sudo priviledges for one or more tasks, should it apply it just for those tasks? Or not use "become"

Re: [ansible-project] action for getting Digital Ocean keys

2015-01-12 Thread Paul Mackay
ease once > it's cleaned up a bit. Can send it to you in its current form, if you're > interested > > Akos > > On 5 January 2015 at 13:50, Paul Mackay > > wrote: > >> Is there any way to get a list of keys with IDs from a Digital Ocean >> account? If no

Re: [ansible-project] action for getting Digital Ocean keys

2015-01-08 Thread Paul Mackay
u in its current form, if you're > interested > > Akos > > On 5 January 2015 at 13:50, Paul Mackay > > wrote: > >> Is there any way to get a list of keys with IDs from a Digital Ocean >> account? If not, might that be a useful task? I have a scenario where I

[ansible-project] action for getting Digital Ocean keys

2015-01-05 Thread Paul Mackay
Is there any way to get a list of keys with IDs from a Digital Ocean account? If not, might that be a useful task? I have a scenario where I have keys in my account and would like to add them to a droplet I'm creating using ansible. But the only way I could find the IDs of the keys was to const