Provisioning servers
4.3.3 Provisioning servers
Now that your Github environments are set up you can proceed to provision your servers using our automated "Ansible" powered actions.
The Provision environment action will automate a large number of installation and sysadmin tasks on your servers. Refer to the directories in order to understand each task.
Provision infrastructure
Click on the "Actions" tab in Github and select the "Provision environment" action. Click the "Run workflow" button.

In the "Machine to provision" select your target environment, E/g: "qa".
In the "Select group tag you want to execute" select, choose "all". All other options will work properly after first provision
Click the green "Run workflow" button to commence the provisioning of this server.
If you have enabled the approval step for production environments, an issue will open requiring your list of users to approve the running of the action by commenting as described within the issue. See below ...

The process can take anything up to around 20-30 minutes to complete.

If you see a red cross, it means that a certain step failed and requires to be debugged. There might be a problem with your data center, your Ansible inventory files, your Github environment secrets, or there may be network connectivity issues.

If the server provisioning works, you will eventually see a green tick to mark that the server provisioned successfully.
Provision verification steps
Ansible tasks explained
In the "Select group tag you want to execute" select, when you choose "all", you are instructing Ansible to run every one of the infrastructure task commands listed in the infrastructure/server-setup/tasks directory and explained in this list.
It is possible for you to choose to run any one of these tasks individually at any time, such as an example given when refreshing static TLS certificates.
Last updated