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:
Alan Orth 2015-02-20 15:06:45 +03:00
parent 6b528ecc92
commit 55fddf03b3
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
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:

View File

@ -1,19 +0,0 @@
$ANSIBLE_VAULT;1.1;AES256
31393765626334303535616638323936633938313930343466376661396537346638613739653864
3762383737383836373135653836653735663061366430380a363032643436333339323361646430
61656265336637613633383431653865303266313765363461646137386135373835303165356639
3064393831663439320a373663646538636636306533326632356165363934373565363264376239
37626636643738393035626463613139363038613466316366653463626463393661373962646131
65393862373138303366313366353365653764313264333565666663633537336333353032396137
65636437346564346539636562366163313366393163356634623738303933366564613162313136
35656430336632353237306437383861313830636332623137626232343364323864633031316265
66306263323165373134333832356133323463313761663436323130306463633239376263353233
64626366363561313032313738666561353039303835363265353164323530663534636361346338
31623735383833633433646332313632636437363637633662343565383332663564653763613739
66323435613632663839663931396437663736313330353138363536636531633239666462613531
35643766333838316662303836343066633136396561333463383963343433333535343434646638
64323231386664323636396439383530626565626461343837323764373536333464396234613938
39623936393861333030663961383162396234333332333262386361383439616138663633623633
31363062646634626366316636336239653762313132303037386539356162383736643332623337
32643236383637353162313562346662306666336664653763646635653136333336323937393534
3138333863393636643437363166656538306130393838643161