sudo dnf install ansible python-dnf python3-psycopg2
- Run behalf superuser.
- You HAVE TO pass a developer account name as command line parameter.
$ sudo ansible-playbook -i inventory.ini playbook.yml --extra-vars='user=johndoe'
Execute roles are tagged by pg
tag:
$ sudo ansible-playbook --tags pg -i inventory.ini playbook.yml
For debug output we can add also -vvvv
parameter.
Install:
- VirtualBox
- Vagrant
- vagrant-vbguest plugin
- Ansible
After that, execute vagrant up
in the project directory and wait until virtual machine will be ready.
When VM is ready, execute vagrant ssh
and check if everything works and installed fine.