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,6 +52,7 @@ all:
hosts: hosts:
lat5420.balsillie.house: lat5420.balsillie.house:
sff.balsillie.house: sff.balsillie.house:
kodi00.balsillie.house:
windows: windows:
hosts: hosts:
lat7490.balsillie.house: lat7490.balsillie.house:
@ -64,3 +65,7 @@ all:
hosts: hosts:
sff.balsillie.house: sff.balsillie.house:
mp00.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

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