Skip to content

Ansible playbook for setting up development environment based on Fedora 33

Notifications You must be signed in to change notification settings

avasyutin/fedora-devbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provision for development VM or laptop

Preprequisites

sudo dnf install ansible python-dnf python3-psycopg2

Run

  1. Run behalf superuser.
  2. You HAVE TO pass a developer account name as command line parameter.
$ sudo ansible-playbook -i inventory.ini playbook.yml --extra-vars='user=johndoe'

Hints

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.

Testing with Vagrant

Install:

  1. VirtualBox
  2. Vagrant
  3. vagrant-vbguest plugin
  4. 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.

About

Ansible playbook for setting up development environment based on Fedora 33

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published