This commit is contained in:
2024-05-18 13:19:56 +02:00
parent b510009b92
commit dbf28f2651
7 changed files with 87 additions and 62 deletions

View File

@ -4,10 +4,9 @@
delegate_to: localhost
connection: local
- name: restart container
lxd_container:
name: "{{ inventory_hostname }}"
state: restarted
- name: restart container
command:
cmd: "/usr/bin/incus restart {{ inventory_hostname }}"
delegate_to: localhost
connection: local