style 💎: Update container tags in setupacdc.yml

Updated the container tags to exclude 'test' and added a comment explaining the change, allowing for future flexibility in managing container tags.
This commit is contained in:
2025-11-02 08:40:18 +01:00
parent 82a2de1a98
commit 88b55e5599

View File

@@ -26,7 +26,10 @@
container_onboot: 1 container_onboot: 1
container_protection: 0 container_protection: 0
container_unprivileged: 1 container_unprivileged: 1
container_tags: "ansible_managed,test" # container_tags: "ansible_managed,test"
container_tags:
- ansible_managed
- test
tasks: tasks:
@@ -66,7 +69,7 @@
-onboot {{ container_onboot }} \ -onboot {{ container_onboot }} \
-protection {{ container_protection }} \ -protection {{ container_protection }} \
-unprivileged {{ container_unprivileged }} \ -unprivileged {{ container_unprivileged }} \
-tags {{ container_tags }} \ -tags "{{ container_tags }}" \
-features {{ container_features }} -features {{ container_features }}
args: args:
creates: "/etc/pve/lxc/{{ container_id }}.conf" creates: "/etc/pve/lxc/{{ container_id }}.conf"