change(inv): moves localhost to hosts.yaml, removes dedicated localhost.yaml
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
---
|
||||
all:
|
||||
children:
|
||||
this_host:
|
||||
hosts:
|
||||
localhost:
|
||||
ansible_become_password: "{{ ansible_become_passwd }}"
|
||||
ansible_connection: local
|
||||
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
||||
physical:
|
||||
hosts:
|
||||
proxmox_1:
|
||||
ansible_host: "{{ proxmox_1_host }}"
|
||||
ansible_become_password: "{{ ansible_become_passwd }}"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
physical:
|
||||
hosts:
|
||||
localhost:
|
||||
ansible_become_password: "{{ ansible_become_passwd }}"
|
||||
ansible_connection: local
|
||||
ansible_python_interpreter: "{{ ansible_playbook_python }}"
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Deploy LXC
|
||||
hosts: all
|
||||
hosts: localhost
|
||||
remote_user: ansible
|
||||
gather_facts: false
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Deploy VM
|
||||
hosts: all
|
||||
hosts: localhost
|
||||
remote_user: ansible
|
||||
gather_facts: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user