Replace hosts.ini with hosts.yml
This commit is contained in:
parent
96f4752d2e
commit
69f094523a
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
dransible ansible_ssh_host=192.168.33.10 ansible_ssh_port=22
|
5
ansible/hosts.yml
Normal file
5
ansible/hosts.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
all:
|
||||
hosts:
|
||||
dransible:
|
||||
ansible_ssh_host: 192.168.33.10
|
||||
ansible_ssh_port: 22
|
Loading…
Reference in a new issue