1
0

start to add kodi ansible

This commit is contained in:
michael 2024-04-20 22:24:20 +12:00
parent 43dbb951fe
commit d0c1bb8717
5 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,9 @@
ansible_connection: ssh
ansible_host: kodi00.balsillie.house
ansible_fqdn: kodi00.balsillie.house
ansible_remote_addr: 10.192.210.169
ansible_port: 22
ansible_user: ladmin
ansible_become_user: root
ansible_become_method: sudo
static_fqdn: kodi00.balsillie.house

View File

@ -52,10 +52,11 @@ all:
hosts:
lat5420.balsillie.house:
sff.balsillie.house:
kodi00.balsillie.house:
windows:
hosts:
lat7490.balsillie.house:
win11.balsillie.house:
win11.balsillie.house:
laptops:
hosts:
lat5420.balsillie.house:
@ -64,3 +65,7 @@ all:
hosts:
sff.balsillie.house:
mp00.balsillie.house:
kodi00.balsillie.house:
kodi:
hosts:
kodi00.balsillie.house:

View File

@ -0,0 +1,7 @@
- name: Install media services
hosts:
- kodi00.balsillie.house
gather_facts: true
become: true
roles:
- name: kodi

View File

@ -38,4 +38,4 @@
roles:
- name: sshd_setup
# VM setup
# VM setup

View File

@ -0,0 +1,10 @@
- name: Install certbot package (Archlinux)
when: ansible_facts['os_family'] == "Archlinux"
community.general.pacman:
name:
- certbot
- certbot-dns-rfc2136
state: present
update_cache: true
- name: Add certbot config