feat: Change detection

This commit is contained in:
Lino Silva
2023-04-19 15:50:07 +01:00
parent 71a4005bbf
commit c60e378f81
12 changed files with 164 additions and 1 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 615 -- sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
- name: Restart SSH Service
ansible.builtin.command: lxc-attach -n 615 service ssh restart