Alan Orth
0f5b088c08
Need to make sure the user gets created on a fresh install, like on Amazon EC2 or OpenStack images where the first user is `ubuntu' and you can't assume `provisioning' is already created. Signed-off-by: Alan Orth <alan.orth@gmail.com>
7 lines
336 B
YAML
7 lines
336 B
YAML
---
|
|
# 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:
|