1
0
Fork 0

move update to own playbook, update share configs

This commit is contained in:
Massaki Archambault 2023-03-14 14:48:55 -04:00
parent d8581e09f1
commit 077338f5e0
5 changed files with 23 additions and 20 deletions

8
hosts
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

6
upgrade.yml Normal file
View File

@ -0,0 +1,6 @@
- hosts: generic-linux
tasks:
- name: Perform system update
apt:
update_cache: yes
upgrade: 'yes'