summaryrefslogtreecommitdiffstats
path: root/configure.yml
diff options
context:
space:
mode:
Diffstat (limited to 'configure.yml')
-rw-r--r--configure.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.yml b/configure.yml
index 0da1b8bb..be1826c6 100644
--- a/configure.yml
+++ b/configure.yml
@@ -142,3 +142,14 @@
loop: "{{ groups['containers'] }}"
loop_control:
loop_var: "service_host"
+
+ - name: "Configure SSH on LXC containers"
+ tags: ["pve-lxc"]
+ ansible.builtin.include_role:
+ name: "pve-lxc-ssh"
+ vars:
+ pve_lxc_id: "{{ hostvars[service_host].pve_lxc_id }}"
+ pve_lxc_ssh_port: "{{ hostvars[service_host].pve_lxc_ssh_port }}"
+ loop: "{{ groups['containers'] }}"
+ loop_control:
+ loop_var: "service_host"