change hosts, add role
This commit is contained in:
parent
fc74760828
commit
7c88c82951
@ -1,22 +1,24 @@
|
||||
# yamllint disable-line rule:new-lines
|
||||
---
|
||||
homelab:
|
||||
children:
|
||||
dns:
|
||||
servers:
|
||||
hosts:
|
||||
dlna:
|
||||
ansible_host: dlna.home.lab.local
|
||||
sandbox:
|
||||
ansible_host: 192.168.0.101
|
||||
dns1:
|
||||
ansible_host: ns1.home.lab.local
|
||||
vars:
|
||||
ansible_user: ovodianov
|
||||
ansible_ssh_private_key_file: ~/.ssh/home.lab.local
|
||||
pve:
|
||||
debian:
|
||||
hosts:
|
||||
pve1:
|
||||
ansible_host: pve.home.lab.local
|
||||
ansible_user: root
|
||||
pve2:
|
||||
ansible_host: pve.home.lab.local
|
||||
ansible_host: pve2.home.lab.local
|
||||
vars:
|
||||
ansible_user: root
|
||||
sanbox:
|
||||
hosts:
|
||||
sanbox1:
|
||||
ansible_host: 192.168.0.101
|
||||
ansible_user: ovodianov
|
||||
ansible_ssh_private_key_file: ~/.ssh/home.lab.local
|
||||
|
||||
5
ansible/install.yml
Normal file
5
ansible/install.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: homelab
|
||||
become: true
|
||||
roles:
|
||||
- packages
|
||||
5
ansible/roles/packages/tasks/main.yml
Normal file
5
ansible/roles/packages/tasks/main.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: install packages
|
||||
apt:
|
||||
name: qemu-guest-agent
|
||||
state: present
|
||||
Loading…
x
Reference in New Issue
Block a user