[ansible-project] Re: Ansible become option with passwordless

2016-03-22 Thread Matt Calhoun
sudo? On Tuesday, March 22, 2016 at 12:51:22 PM UTC-4, Uditha Desilva wrote: > > It's no more a security role than allowing your sysadmins to su to root... > > On Monday, 21 March 2016 18:28:21 UTC, Matt Calhoun wrote: >> >> Is there really no way to give the ansible use

[ansible-project] Re: Ansible become option with passwordless

2016-03-21 Thread Matt Calhoun
Is there really no way to give the ansible user specific sudo NOPASSWD privileges? This seems like a huge security hole! On Monday, March 21, 2016 at 9:24:31 AM UTC-4, selvam vasu wrote: > > Hi, > I am newbie to ansible. You can find it easily through this dump question. > I have limited access

[ansible-project] Re: Troubleshooting Windows Host UNREACHABLE!

2015-11-12 Thread Matt Calhoun
I have verified that PSRemoting seems to be working fine on this host. From another windows box... PS C:\> Invoke-Command -ComputerName myhost -port 5985 -Authentication Kerberos -ScriptBlock { Get-Content c:\windows\system32\drivers\etc\hosts } -credential myaccount # Copyright (c)

[ansible-project] Troubleshooting Windows Host UNREACHABLE!

2015-11-11 Thread Matt Calhoun
I have many windows hosts that have been configured identically (as far as I can tell) and I can connect to all but one of them. Anyone have an idea of why this may be happening? - Up to date on all windows patches - Have rebooted $ ansible myhost -m win_ping -o -

[ansible-project] Issue with lib/ansible.egg-info/ ownership when running from source as different users

2015-11-02 Thread Matt Calhoun
We have the need to run ansible from cron as root (to ensure the 'ansible' user exists on all remote hosts and its key is present in authorized_keys) as well as the the 'ansible' user. The problem is that when root sources ./hacking/env-setup, the directory lib/ansible.egg-info/ becomes

Re: [ansible-project] Issue with lib/ansible.egg-info/ ownership when running from source as different users

2015-11-02 Thread Matt Calhoun
Thanks Josh. I can confirm we're using the latest code from the devel branch (2.0) and this is still occurring. On Monday, November 2, 2015 at 10:09:50 AM UTC-5, Josh Smift wrote: > > MC> We have the need to run ansible from cron as root (to ensure the > MC> 'ansible' user exists on all remote