Reenable yamllint for ansible;Fix quotes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-08 09:38:40 +02:00
parent d680b0dde4
commit fcea2ef449
2 changed files with 2 additions and 3 deletions

View File

@ -26,8 +26,7 @@ steps:
sed -i -e "s/<<img-password>>/$${SSH_PASSWORD}/g" \ sed -i -e "s/<<img-password>>/$${SSH_PASSWORD}/g" \
packer/preseed/UbuntuServer20.04/user-data 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}}" ansible packer/preseed/UbuntuServer20.04/user-data
yamllint -d "{extends: relaxed, rules: {line-length: disable}}" packer/preseed/UbuntuServer20.04/user-data
- | - |
packer init -upgrade \ packer init -upgrade \
./packer ./packer

View File

@ -7,7 +7,7 @@
autoremove: yes autoremove: yes
- name: Delete cloud-init files - name: Delete cloud-init files
file: file:
path: {{ item }} path: "{{ item }}"
state: absent state: absent
loop: loop:
- /etc/cloud - /etc/cloud