Added emma play and updated roles for multi-server setup
This commit is contained in:
parent
dc538a3971
commit
75e0f73ba8
10 changed files with 151 additions and 0 deletions
42
plays/emma.yml
Normal file
42
plays/emma.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
- name: Set up static IP
|
||||
hosts: emma
|
||||
become: yes
|
||||
roles:
|
||||
- role: any.common.static-ip
|
||||
vars:
|
||||
interface: 'enp1s0'
|
||||
static_ip: '192.168.0.2'
|
||||
broadcast_ip: '192.168.0.255'
|
||||
router_ip: '192.168.0.1'
|
||||
- any.common.ssh
|
||||
- any.tools.ufw
|
||||
tags: networking
|
||||
|
||||
- name: Configure BTRFS RAID
|
||||
hosts: emma
|
||||
become: yes
|
||||
roles:
|
||||
- any.common.raid
|
||||
tags: raid
|
||||
|
||||
- name: Set up Jellyfin
|
||||
hosts: emma
|
||||
become: yes
|
||||
roles:
|
||||
- any.software.jellyfin
|
||||
tags: jellyfin
|
||||
|
||||
- name: Set up Miniflux
|
||||
hosts: emma
|
||||
become: yes
|
||||
tags: miniflux
|
||||
roles:
|
||||
- role: any.common.btrfs-subvolumes
|
||||
vars:
|
||||
subvolumes:
|
||||
- filesystem_uuid: "{{ btrfs_nvme.uuid }}"
|
||||
filesystem_path: "{{ btrfs_nvme.path }}"
|
||||
name: "/@rootfs/data/miniflux/postgres"
|
||||
- role: any.software.miniflux-podman
|
||||
vars:
|
||||
postgres_data_dir: '/data/miniflux/postgres'
|
||||
Loading…
Add table
Add a link
Reference in a new issue