Setup the base requirements for a NYC Department of Records RHEL Server
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
volumes:
- device: /dev/<device_name>
fstype: <Filesystem type (e.g. xfs)>
path: <Mount Point>
src: "UUID=<UUID for Volume"
Volumes is a list of dictionaries for formatting and mounting new volumes.
setup_mount_points: true
Determines whether volumes and mount points should be setup using this role. Defaults to True.
reformat_volumes: false
Determines whether this role should reformat all volumes when mounting as part of this role. Defaults to False.
setup_proxy: true
Determines whether the role should setup the HTTP/HTTPS/FTP/NO_PROXY variables globally. Defaults to True.
setup_https: true
Determines whether this role should create a CSR and self-signed cert for the server. CSR will be copied to the Ansible Control Node. Defaults to True.
ssh_users:
- system_user: vagrant
github_users:
- joelbcastillo
Adds github user ssh keys to authorized keys for the system user. Can specify multiple system users and Github user combinations.
server_admin_email: [email protected]
The user for the CSR and Certificate created for HTTPS setup.
pip_get_pip_version: latest
pip_version: 20.0.2
pip_executable: "pip"
These variables are used to install packages for HTTPS Setup. We use Python to generate CSRs, Certs, and Keys.
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
BSD
An optional section for the role authors to include contact information, or a website (HTML is not allowed).