diff --git a/README.md b/README.md index 66d98f9..dc4e1e2 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,26 @@ Playbooks for (relatively) easy sysadmin! ## With Vagrant -1. `vagrant up` -2. Install ansible -3. Install the roles: `ansible-galaxy install -r requirements.yml` +1. Install Vagrant +2. `vagrant up` +3. Install ansible: + ```bash + sudo apt update + sudo apt install software-properties-common + sudo apt-add-repository --yes --update ppa:ansible/ansible + sudo apt install ansible + ``` + 4. Launch the playbook: `ansible-playbook setup.yml` ## With a real server 1. Edit the file `hosts.ini` -2. Install ansible -3. Install the roles: `ansible-galaxy install -r requirements.yml` -4. Launch the playbook: `ansible-playbook setup.yml` \ No newline at end of file +2. Install ansible: + ```bash + sudo apt update + sudo apt install software-properties-common + sudo apt-add-repository --yes --update ppa:ansible/ansible + sudo apt install ansible + ``` + +3. Launch the playbook: `ansible-playbook setup.yml` \ No newline at end of file