Change to the
devops folder in your project directory.
And then install all dependencies.
This will create a new Python 3 virtual environment with Ansible.
Provisioning the Server#
We are using Vagrant in this training, and to create a new Vagrant box, as defined in the
Configure SSH key#
group_vars/all/users.yml file and replace the line
public_keys:  with the following.
- '<your ssh public key>'
Run the playbook to set up the server by installing base packages, creating
UFW configuration, and adding users.
.env_prod, if it does not exist, setting all values defined in
.env_dev, then run:
Next add a file
prod.yml in the folder
inventory with information about the production server.
Finally, add a file
plone-conference-prod.yml in the folder