feat: Add n8n

This commit is contained in:
Lino Silva
2024-05-09 16:45:42 +01:00
parent 44e61000c5
commit 2e868a6015
21 changed files with 246 additions and 8 deletions
@@ -2,7 +2,7 @@
# 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 607 -- sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
ansible.builtin.command: lxc-attach -n {{vmid}} -- sed -i "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_config
- name: Restart SSH Service
ansible.builtin.command: lxc-attach -n 607 service ssh restart
ansible.builtin.command: lxc-attach -n {{vmid}} service ssh restart