chore 📦: Update setupacdc.yml to use Ansible shell command
Updated the pct create command to use the new ansible.builtin.shell module, allowing for more flexibility and consistency in container creation.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
tasks:
|
||||
|
||||
- name: Create LXC container using pct command
|
||||
shell: |
|
||||
ansible.builtin.shell: |
|
||||
pct create 200 '/var/lib/vz/template/cache/debian-13-standard_13.1-1_amd64.tar.zst' \
|
||||
-ostype debian \
|
||||
-hostname {{ addc_hostname }} \
|
||||
|
||||
Reference in New Issue
Block a user