diff --git a/tasks/setupacdc.yml b/tasks/setupacdc.yml index f869ec5..06749dd 100644 --- a/tasks/setupacdc.yml +++ b/tasks/setupacdc.yml @@ -31,28 +31,7 @@ - ansible_managed - test - tasks: - # - name: Ensure container does not exist - - - name: Create LXC container using pct command - ansible.builtin.command: - cmd: > - pct create 201 - {{ container_template }} - --hostname {{ container_hostname }}test - --storage {{ container_storage }} - --memory {{ container_memory }} - --cores 1 - --net0 "name=eth0,bridge=vmbr0,ip=dhcp" - --unprivileged 1 - --features {{ container_features }} - --ssh-public-keys /root/.ssh/id_rsa.pub - args: - creates: "/etc/pve/lxc/201.conf" - - - - name: Create LXC container using pct command on shell ansible.builtin.shell: |