Reenable ansible tasks
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-08 17:00:56 +02:00
parent 06d0a44c4d
commit 8adbec57d5
2 changed files with 16 additions and 15 deletions

View File

@ -26,7 +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 scripts
- | - |
packer init -upgrade \ packer init -upgrade \
./packer ./packer

View File

@ -2,21 +2,22 @@
ansible.builtin.apt: ansible.builtin.apt:
name: snapd name: snapd
state: absent state: absent
purge: yes
- name: Reload systemd unit configurations - name: Reload systemd unit configurations
ansible.builtin.systemd: ansible.builtin.systemd:
daemon_reload: yes daemon_reload: yes
# - name: Delete cloud-init package - name: Delete cloud-init package
# ansible.builtin.apt: ansible.builtin.apt:
# name: cloud-init name: cloud-init
# state: absent state: absent
# purge: yes purge: yes
# autoclean: yes # autoclean: yes
# autoremove: yes # autoremove: yes
# - name: Delete cloud-init files - name: Delete cloud-init files
# ansible.builtin.file: ansible.builtin.file:
# path: "{{ item }}" path: "{{ item }}"
# state: absent state: absent
# loop: loop:
# - /etc/cloud - /etc/cloud
# - /var/lib/cloud - /var/lib/cloud