summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwate <pc.poisoning@gmail.com>2018-06-22 22:35:48 +0900
committerwate <pc.poisoning@gmail.com>2018-06-25 22:35:57 +0900
commit1bb43a23c0d7f38a28081bb75fa1b41df68d25ff (patch)
treeef171f6bdfc6f1b1a6abcd64b048b4ec2dd87b72
parent7e85935ac874876ed515ec1179ce6215d3a4bf5c (diff)
downloadvyos-vm-images-1bb43a23c0d7f38a28081bb75fa1b41df68d25ff.tar.gz
vyos-vm-images-1bb43a23c0d7f38a28081bb75fa1b41df68d25ff.zip
Add ansible.cfg to specify the default inventory path
-rw-r--r--README.md10
-rw-r--r--ansible.cfg2
2 files changed, 7 insertions, 5 deletions
diff --git a/README.md b/README.md
index af08f34..39560e7 100644
--- a/README.md
+++ b/README.md
@@ -7,24 +7,24 @@
- QEMU
```
- ansible-playbook -i hosts qemu.yml
+ ansible-playbook qemu.yml
```
- VMware
```
- ansible-playbook -i hosts vmware.yml
- ansible-playbook -i hosts vmware.yml -e vyos_vmware_private_key_path=path_to_private_key
+ ansible-playbook vmware.yml
+ ansible-playbook vmware.yml -e vyos_vmware_private_key_path=path_to_private_key
```
- Microsoft Hyper-V
```
- ansible-playbook -i hosts hyperv.yml
+ ansible-playbook hyperv.yml
```
- Vagrant libvirt
```
- ansible-playbook -i hosts vagrant-libvirt.yml
+ ansible-playbook vagrant-libvirt.yml
```
diff --git a/ansible.cfg b/ansible.cfg
new file mode 100644
index 0000000..ed865bf
--- /dev/null
+++ b/ansible.cfg
@@ -0,0 +1,2 @@
+[defaults]
+inventory = hosts