better readme
This commit is contained in:
parent
dd7e91facd
commit
c665d5cf92
25
README.md
25
README.md
@ -3,13 +3,26 @@
|
|||||||
Playbooks for (relatively) easy sysadmin!
|
Playbooks for (relatively) easy sysadmin!
|
||||||
|
|
||||||
## With Vagrant
|
## With Vagrant
|
||||||
1. `vagrant up`
|
1. Install Vagrant
|
||||||
2. Install ansible
|
2. `vagrant up`
|
||||||
3. Install the roles: `ansible-galaxy install -r requirements.yml`
|
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
|
||||||
|
```
|
||||||
|
<!-- 3. Install the roles: `ansible-galaxy install -r requirements.yml` -->
|
||||||
4. Launch the playbook: `ansible-playbook setup.yml`
|
4. Launch the playbook: `ansible-playbook setup.yml`
|
||||||
|
|
||||||
## With a real server
|
## With a real server
|
||||||
1. Edit the file `hosts.ini`
|
1. Edit the file `hosts.ini`
|
||||||
2. Install ansible
|
2. Install ansible:
|
||||||
3. Install the roles: `ansible-galaxy install -r requirements.yml`
|
```bash
|
||||||
4. Launch the playbook: `ansible-playbook setup.yml`
|
sudo apt update
|
||||||
|
sudo apt install software-properties-common
|
||||||
|
sudo apt-add-repository --yes --update ppa:ansible/ansible
|
||||||
|
sudo apt install ansible
|
||||||
|
```
|
||||||
|
<!-- 3. Install the roles: `ansible-galaxy install -r requirements.yml` -->
|
||||||
|
3. Launch the playbook: `ansible-playbook setup.yml`
|
Loading…
Reference in New Issue
Block a user