diff --git a/tasks/setupacdc.yml b/tasks/setupacdc.yml index 990885d..d0636be 100644 --- a/tasks/setupacdc.yml +++ b/tasks/setupacdc.yml @@ -11,16 +11,16 @@ - name: Create LXC container using pct command shell: | pct create 200 '/var/lib/vz/template/cache/debian-13-standard_13.1-1_amd64.tar.zst' \ - --ostype debian \ - --hostname {{ addc_hostname }} \ - --password 123456 \ - --cores 2 \ - --memory 2048 \ - --swap 256 \ - --net0 name=eth0,bridge=vmbr0,ip={{ addc_ansible_host }}/24,gw={{ location_gateway }},hwaddr={{ mac_address }} \ - --storage local-lvm \ - --unprivileged 0 \ - --features keyctl=1,nesting=1,mount=cifs + -ostype debian \ + -hostname {{ addc_hostname }} \ + -password 123456 \ + -cores 2 \ + -memory 2048 \ + -swap 256 \ + -net0 name=eth0,bridge=vmbr0,ip={{ addc_ansible_host }}/24,gw={{ location_gateway }},hwaddr={{ mac_address }} \ + -storage local-lvm \ + -unprivileged 0 \ + -features keyctl=1,nesting=1,mount=cifs become: yes become_user: root