Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Adding the last gotcha I had regarding hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnroach committed Oct 12, 2016
1 parent b28ddac commit 14dadd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
```
ansible-playbook -i hosts_one playbooks/hosts.yml -v
ansible-playbook -i hosts.d playbooks/hosts.yml -v
ansible-playbook playbooks/hosts.yml -v
```
Gotchas:
- If using directory for hosts naming of host files are important. Example: change allhosts to zhosts
- Just because you specified hosts in a sequence doesn't mean runs will be in a sequence
- Specify your hosts file otherwise be ready to get the unexpected (i.e. /etc/ansible/hosts might get picked up!)

0 comments on commit 14dadd5

Please sign in to comment.