diff options
author | wate <pc.poisoning@gmail.com> | 2018-06-22 22:35:48 +0900 |
---|---|---|
committer | wate <pc.poisoning@gmail.com> | 2018-06-25 22:35:57 +0900 |
commit | 1bb43a23c0d7f38a28081bb75fa1b41df68d25ff (patch) | |
tree | ef171f6bdfc6f1b1a6abcd64b048b4ec2dd87b72 | |
parent | 7e85935ac874876ed515ec1179ce6215d3a4bf5c (diff) | |
download | vyos-vm-images-1bb43a23c0d7f38a28081bb75fa1b41df68d25ff.tar.gz vyos-vm-images-1bb43a23c0d7f38a28081bb75fa1b41df68d25ff.zip |
Add ansible.cfg to specify the default inventory path
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | ansible.cfg | 2 |
2 files changed, 7 insertions, 5 deletions
@@ -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 |