chore 📦: Update setupacdc.yml to include hostname and id in LXC container creation
Updated the pct command to include hostname and id for more accurate container creation. This change ensures consistency in container naming across different environments.
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Create LXC container using pct command on shell
|
- name: Create LXC container {{ container_hostname }} with id {{ container_id }} using pct command on shell
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
pct create {{ container_id }} {{ container_template }} \
|
pct create {{ container_id }} {{ container_template }} \
|
||||||
-ostype {{ container_ostype }} \
|
-ostype {{ container_ostype }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user