DoSomething.org base server.
For generation crypted passwords for the user module see the instruction on docs.ansible.com.
app_user_password: $password-hash$
To see the full list of timezones, run timedatectl list-timezones
.
Defaults to America/New_York
.
timezone: America/Los_Angeles
To see the full locales list of installed locales, run locale -a
.
Defaults to en_US.UTF-8
.
locale: en_US.UTF-8
For example, here's configuration from amazon NTP servers:
ntp_servers:
- 0.amazon.pool.ntp.org iburst
- 1.amazon.pool.ntp.org iburst
- 2.amazon.pool.ntp.org iburst
- 3.amazon.pool.ntp.org iburst
If not specified, ntp package defaults will be used.
The application user name.
Defaults to app
.
app_user: dosomething
This roles requires two files to be present in your playbook:
files/app_user/ssh/authorized_keys
Predefined SSH ACL to the app user in SSHauthorized_keys
file formatfiles/app_user/ssh/known_hosts
Predefined app_users's known hosts in SSHknown_hosts
file format
Usage example:
- hosts: servers
roles:
- { role: dosomething.base, timezone: 'America/Los_Angeles' }
MIT