chore(): improved core playbooks

This commit is contained in:
ITQ
2026-03-19 14:40:07 +03:00
parent dc12c91184
commit 3f5f2c4f18
5 changed files with 31 additions and 40 deletions
+1 -2
View File
@@ -3,11 +3,10 @@
hosts: servers
gather_facts: true
become: true
serial: 100%
pre_tasks:
- name: Ensure Docker and K3s are not both enabled
assert:
ansible.builtin.assert:
that:
- not (containers.docker.enabled and containers.k3s.enabled)
fail_msg: "Docker and K3s cannot both be enabled at the same time."