diff options
| author | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2018-06-26 06:34:53 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-26 06:34:53 +0900 |
| commit | ebf269e8926d3dbd2a543aabe598ef4cfa68a5ff (patch) | |
| tree | ef171f6bdfc6f1b1a6abcd64b048b4ec2dd87b72 | |
| parent | 7e85935ac874876ed515ec1179ce6215d3a4bf5c (diff) | |
| parent | 1bb43a23c0d7f38a28081bb75fa1b41df68d25ff (diff) | |
| download | vyos-vm-images-ebf269e8926d3dbd2a543aabe598ef4cfa68a5ff.tar.gz vyos-vm-images-ebf269e8926d3dbd2a543aabe598ef4cfa68a5ff.zip | |
Merge pull request #1 from wate/patch-1
Make it possible to omit specifying the inventory file when executing the ansible-playbook command
| -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 |
