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_keys Predefined SSH ACL to the app user in SSH authorized_keys file format
  • files/app_user/ssh/known_hosts Predefined app_users's known hosts in SSH known_hosts file format

Example Playbook

Usage example:

- hosts: servers
  roles:
     - { role: dosomething.base, timezone: 'America/Los_Angeles' }

License

MIT

About

DoSomething.org base server

Install
ansible-galaxy install DoSomethingArchive.base
GitHub repository
License
Unknown
Downloads
91
Owner
Unmaintained DoSomething.org projects