move update to own playbook, update share configs
This commit is contained in:
parent
d8581e09f1
commit
077338f5e0
8
hosts
8
hosts
|
@ -7,6 +7,8 @@ all:
|
|||
hosts:
|
||||
pfsense:
|
||||
ansible_host: 192.168.30.1
|
||||
truenas:
|
||||
ansible_host: 192.168.20.30
|
||||
children:
|
||||
proxmox:
|
||||
hosts:
|
||||
|
@ -26,8 +28,8 @@ all:
|
|||
plex:
|
||||
ansible_host: 192.168.20.31
|
||||
nfs_libraries:
|
||||
- 192.168.20.30:/mnt/pool0/badjware/Videos/Movies
|
||||
- 192.168.20.30:/mnt/pool0/badjware/Videos/Series
|
||||
- 192.168.20.30:/mnt/pool0/media/Movies
|
||||
- 192.168.20.30:/mnt/pool0/media/Series
|
||||
k3s:
|
||||
children:
|
||||
k3s-server:
|
||||
|
@ -50,7 +52,7 @@ all:
|
|||
k3s-agent3:
|
||||
ansible_host: 192.168.20.24
|
||||
platform: raspberrypi
|
||||
debian:
|
||||
generic-linux:
|
||||
hosts:
|
||||
ubiquiti:
|
||||
ansible_host: 192.168.10.2
|
||||
|
|
20
playbook.yml
20
playbook.yml
|
@ -2,15 +2,6 @@
|
|||
roles:
|
||||
- proxmox
|
||||
|
||||
- hosts: debian
|
||||
roles:
|
||||
- common
|
||||
|
||||
- hosts: bastion
|
||||
roles:
|
||||
- haproxy
|
||||
- bastion
|
||||
|
||||
- hosts: k3s-server
|
||||
roles:
|
||||
- k3s-server
|
||||
|
@ -18,6 +9,15 @@
|
|||
roles:
|
||||
- k3s-agent
|
||||
|
||||
- hosts: generic-linux
|
||||
roles:
|
||||
- common
|
||||
|
||||
- hosts: bastion
|
||||
roles:
|
||||
- haproxy
|
||||
- bastion
|
||||
|
||||
- hosts: plex
|
||||
roles:
|
||||
- plex
|
||||
- plex
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
|
||||
- name: Perform system update
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: 'yes'
|
||||
|
||||
- name: Install basic packages
|
||||
apt:
|
||||
update_cache: yes
|
||||
name:
|
||||
- curl
|
||||
- vim
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
- plexmediaserver
|
||||
- nfs-common
|
||||
|
||||
- name: Create library mount points
|
||||
- name: Create library mount points directory
|
||||
file:
|
||||
path: "/mnt/{{ item|regex_replace(':','/') }}"
|
||||
state: directory
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
- hosts: generic-linux
|
||||
tasks:
|
||||
- name: Perform system update
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: 'yes'
|
Loading…
Reference in New Issue