start to add kodi ansible
This commit is contained in:
parent
43dbb951fe
commit
d0c1bb8717
@ -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
|
@ -52,10 +52,11 @@ 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:
|
||||||
win11.balsillie.house:
|
win11.balsillie.house:
|
||||||
laptops:
|
laptops:
|
||||||
hosts:
|
hosts:
|
||||||
lat5420.balsillie.house:
|
lat5420.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:
|
||||||
|
7
ansible/playbooks/infra/kodi.yaml
Normal file
7
ansible/playbooks/infra/kodi.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
- name: Install media services
|
||||||
|
hosts:
|
||||||
|
- kodi00.balsillie.house
|
||||||
|
gather_facts: true
|
||||||
|
become: true
|
||||||
|
roles:
|
||||||
|
- name: kodi
|
@ -38,4 +38,4 @@
|
|||||||
roles:
|
roles:
|
||||||
- name: sshd_setup
|
- name: sshd_setup
|
||||||
|
|
||||||
# VM setup
|
# VM setup
|
||||||
|
10
ansible/roles/certbot/tasks/main.yaml
Normal file
10
ansible/roles/certbot/tasks/main.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user