Add ansible.cfg and set the inventory file

This commit is contained in:
Oliver Davies 2015-11-16 16:58:58 +00:00
parent a598cfae07
commit 665f48503a
4 changed files with 7 additions and 2 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.log

View file

@ -1,13 +1,13 @@
# macbook-provisioning # macbook-provisioning
```bash ```bash
$ ansible-playbook -i inventory playbook.yml -K $ ansible-playbook playbook.yml -K
``` ```
Run everything. Run everything.
```bash ```bash
$ ansible-playbook -i inventory playbook.yml -K -t <tag> $ ansible-playbook playbook.yml -K -t <tag>
``` ```
Run a specific tag. Run a specific tag.

4
ansible.cfg Normal file
View file

@ -0,0 +1,4 @@
[defaults]
log_path = ./log/ansible.log
hostfile = ./inventory
inventory = ./inventory

0
log/.gitkeep Normal file
View file