ansible/README.md
2019-11-13 21:48:50 +01:00

868 B

Fuz Playbooks

Playbooks for (relatively) easy sysadmin!

ansible-galaxy install -r requirements.yml

With Vagrant

  1. Install Vagrant
  2. vagrant up
  3. Install ansible:
    sudo apt update
    sudo apt install software-properties-common
    sudo apt-add-repository --yes --update ppa:ansible/ansible
    sudo apt install ansible
    
  1. Launch the playbook: ansible-playbook setup.yml

With a real server

  1. Edit the file hosts.ini
  2. Install ansible:
    sudo apt update
    sudo apt install software-properties-common
    sudo apt-add-repository --yes --update ppa:ansible/ansible
    sudo apt install ansible
    
  1. Launch the playbook: ansible-playbook setup.yml