proxmox-kube/roles/proxmox/handlers/main.yml

7 lines
157 B
YAML
Raw Normal View History

---
- name: Reboot LXC containers
ansible.builtin.command: pct reboot {{ item }}
loop: "{{ kube_ids }}"
changed_when: true
listen: reboot containers