diff --git a/.drone.yml b/.drone.yml index 3ebd962..80d783e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,8 +26,7 @@ steps: sed -i -e "s/<>/$${SSH_PASSWORD}/g" \ packer/preseed/UbuntuServer20.04/user-data - | - # yamllint -d "{extends: relaxed, rules: {line-length: disable}}" ansible packer/preseed/UbuntuServer20.04/user-data - yamllint -d "{extends: relaxed, rules: {line-length: disable}}" packer/preseed/UbuntuServer20.04/user-data + yamllint -d "{extends: relaxed, rules: {line-length: disable}}" ansible packer/preseed/UbuntuServer20.04/user-data - | packer init -upgrade \ ./packer diff --git a/ansible/roles/os/tasks/main.yml b/ansible/roles/os/tasks/main.yml index 4b8c3fa..7084f46 100644 --- a/ansible/roles/os/tasks/main.yml +++ b/ansible/roles/os/tasks/main.yml @@ -7,7 +7,7 @@ autoremove: yes - name: Delete cloud-init files file: - path: {{ item }} + path: "{{ item }}" state: absent loop: - /etc/cloud