This commit is contained in:
parent
06d0a44c4d
commit
8adbec57d5
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user