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