Replace hosts.ini with hosts.yml

This commit is contained in:
Oliver Davies 2019-07-18 08:13:17 +01:00
parent 96f4752d2e
commit 69f094523a
3 changed files with 6 additions and 2 deletions

2
Vagrantfile vendored
View file

@ -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

View file

@ -1 +0,0 @@
dransible ansible_ssh_host=192.168.33.10 ansible_ssh_port=22

5
ansible/hosts.yml Normal file
View file

@ -0,0 +1,5 @@
all:
hosts:
dransible:
ansible_ssh_host: 192.168.33.10
ansible_ssh_port: 22