On 2014-11-13 09:20, Brad Bendily wrote: > Ansible users. How does every handle the SSH and root access parts? > I assume you don't have ansible connecting directly as root on the > destination servers, you use a regular user. > Then how do you give that user sudo/root access and provide that user > password so the ansible task can execute a root > function? > > That was the road block I last hit with Ansible and haven't gone back > to try to resolve.
Same as without automation. Ansible uses a push mechanism, so a human does the pushing. Ansible knows how to sudo, so you make the sysadmins' accounts able to sudo without password, and they themselves can login to the systems as themselves through ssh keys. -- Yves. _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/