Remove provisioning user management

It's just too tricky to manage this. Ubuntu / RedHat preseeds and
kickstarts can create the user and add it to groups, but only when
we control the initial boot environment (ie not on Linode, Digital
Ocean, etc), so let's just say we assume this user exists and can
get root with sudo by the some we are running ansible on it.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2015-02-20 15:06:45 +03:00
parent 6b528ecc92
commit 55fddf03b3
2 changed files with 0 additions and 29 deletions

View File

@ -1,10 +0,0 @@
---
# needs to be first, otherwise it errors after we change the password used for sudo (below)
- name: Add provisioning user to sudoers
copy: src=etc/sudoers.d/provisioning dest=/etc/sudoers.d/provisioning owner=root group=root mode=600 validate='visudo -cf %s'
# create user or update settings if the user already exists
- name: Set password, shell, etc for provisioning user
user: { name: '{{ provisioning_user.name }}', password: '{{ provisioning_user.password }}', shell: '{{ provisioning_user.shell }}', state: '{{ provisioning_user.state }}', createhome: 'yes' }
# vim: set ts=2 sw=2: