Skip to content

Commit

Permalink
Changed README to reflect Ansible Galaxy addition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Koziarkiewicz committed Apr 7, 2015
1 parent 3d62ad1 commit 6f3a9e9
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,22 @@ None, other than installing the role itself. To do that, create a `requirements.
the following contents:

```yaml
- name: raspi-config
src: https://github.com/mikolak-net/ansible-raspi-config
- name: mikołak.raspi-config
```
and then run:
ansible-galaxy install -r requirements.yml
The role and its dependencies should be now installed and ready to reference in your playbook via the name given
in the requirements file.
_Note:_ you can also install the role directly:
ansible-galaxy install mikołak.raspi-config
but creating a requirements file is just good practice.
Role Variables
--------------
Expand Down Expand Up @@ -64,7 +69,7 @@ Example Playbook
```yaml
- hosts: pi*
roles:
- { role: raspi-config }
- { role: mikołak.raspi-config }
```

License
Expand Down

0 comments on commit 6f3a9e9

Please sign in to comment.