feat: Frigate

Co-authored-by: Lino Silva <lino.silva@farfetch.com>
Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
lino
2022-11-25 23:29:38 +00:00
parent 5075a3e697
commit 508e433bab
27 changed files with 370 additions and 52 deletions
@@ -0,0 +1,8 @@
---
# Unable to use ansible.builtin.lineinfile, because we need to run this through the proxmox host (because SSH is not enabled duh)
- name: Allow SSH into LXC
ansible.builtin.command: lxc-attach -n "{{ k3s_vmid }}" -- sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
- name: Restart SSH Service
ansible.builtin.command: lxc-attach -n "{{ k3s_vmid }}" service ssh restart