chore: improvements in .gitignore

This commit is contained in:
ITQ
2025-12-24 11:38:31 +03:00
parent 6e8380c148
commit af4f78663d
4 changed files with 67 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
---
- name: Containers
hosts: servers
gather_facts: true
become: true
serial: 100%
pre_tasks:
- name: Ensure Docker and K3s are not both enabled
assert:
that:
- not (containers.docker.enabled and containers.k3s.enabled)
fail_msg: "Docker and K3s cannot both be enabled at the same time."
success_msg: "Configuration is valid."
roles:
- role: geerlingguy.docker
when: containers.docker.enabled | bool
tags: docker
- role: k3s.orchestration.k3s_server
when: containers.k3s.enabled | bool
tags: k3s