4.3.4 Provision environments
Configure the Ansible inventory files for your environments
Starting with the development.yml file ...
all:
vars:
users:
# If you need to remove access from someone, do not remove them from this list, but instead set their state: absent
- name: <REPLACE WITH THE SSH USERNAME>
ssh_keys:
- <REPLACE WITH SSH PUBLIC KEY FOR THE USER>
state: present
sudoer: true
docker-manager-first:
hosts:
<REPLACE WITH THE SERVER HOSTNAME>:
ansible_host: '<IP ADDRESS FOR THE SERVER>'
data_label: data1
# QA and staging servers are not configured to use workers.
docker-workers: {}
Next, observe the qa.yml file ...
Next, observe the staging.yml file ...
Next, observe the production.yml file ...
Commit the inventories and run the provision action for each environment

Set-up 2FA SSH access for all your super admins




Previous4.3.3.1 Environment secrets and variables explainedNext4.3.4.1 Building, pushing & releasing your countryconfig code
Last updated