From fcea2ef449de9aa81177e671e8d91fa172083e4b Mon Sep 17 00:00:00 2001 From: djpbessems Date: Tue, 8 Jun 2021 09:38:40 +0200 Subject: [PATCH] Reenable yamllint for ansible;Fix quotes --- .drone.yml | 3 +-- ansible/roles/os/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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