ansible-personal/roles/common/tasks/provisioning.yml
Alan Orth 0f5b088c08 roles/common: Add createhome:yes to provisioning user task
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>
2015-01-04 02:24:53 +03:00

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: