diff --git a/Vagrantfile b/Vagrantfile index 67c4778..26dfc68 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -19,7 +19,7 @@ Vagrant.configure("2") do |config| config.vm.provision "ansible" do |ansible| ansible.compatibility_mode = "2.0" ansible.playbook = "ansible/provision.yml" - ansible.inventory_path = "ansible/hosts.ini" + ansible.inventory_path = "ansible/hosts.yml" ansible.become = true ansible.ask_vault_pass = true end diff --git a/ansible/hosts.ini b/ansible/hosts.ini deleted file mode 100644 index 121ea91..0000000 --- a/ansible/hosts.ini +++ /dev/null @@ -1 +0,0 @@ -dransible ansible_ssh_host=192.168.33.10 ansible_ssh_port=22 diff --git a/ansible/hosts.yml b/ansible/hosts.yml new file mode 100644 index 0000000..24d88dc --- /dev/null +++ b/ansible/hosts.yml @@ -0,0 +1,5 @@ +all: + hosts: + dransible: + ansible_ssh_host: 192.168.33.10 + ansible_ssh_port: 22