DoSomethingArchive.base
DoSomething Base Server
DoSomething.org base server.
Role Variables
Required
App user password
For generation crypted passwords for the user module see the instruction on docs.ansible.com.
app_user_password: $password-hash$
Optional
System timezone
To see the full list of timezones, run timedatectl list-timezones.
Defaults to America/New_York.
timezone: America/Los_Angeles
System locale
To see the full locales list of installed locales, run locale -a.
Defaults to en_US.UTF-8.
locale: en_US.UTF-8
Override NTP servers
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.
App user name
The application user name.
Defaults to app.
app_user: dosomething
Role Files
This roles requires two files to be present in your playbook:
files/app_user/ssh/authorized_keysPredefined SSH ACL to the app user in SSHauthorized_keysfile formatfiles/app_user/ssh/known_hostsPredefined app_users's known hosts in SSHknown_hostsfile format
Example Playbook
Usage example:
- hosts: servers
roles:
- { role: dosomething.base, timezone: 'America/Los_Angeles' }
License
MIT
Install
ansible-galaxy install DoSomethingArchive.baseLicense
Unknown
Downloads
91
Owner
Unmaintained DoSomething.org projects
