Files
vms/ansible/playbook.yml
T
Greg HellingsandGitHub dea5487a3c Add virtualbox-iso target
Lots of other, small quality of life improvements to build process
Output of build serial console to artifacts upon failure
Reducing verbosity of Packer, now that serial output is captured
Fixed sizing problems with the boot partitions of Ubuntu versions
Use of Mac builders for Virtualbox targets
Updating Ubuntu builders to 22.04, as well
2022-06-08 01:39:37 -05:00

30 lines
800 B
YAML

- name: install guest additions
hosts: default
pre_tasks:
- name: Update all the things
become: true
ansible.builtin.package: # noqa package-latest
name: "*"
state: latest
when: ansible_facts.pkg_mgr not in ['atomic_container']
- name: Update atomic things
become: true
ansible.builtin.command: rpm-ostree upgrade
when: ansible_facts.pkg_mgr in ['atomic_container']
changed_when: false
- name: Restart the machine
become: true
ansible.builtin.reboot:
roles:
- role: virtualbox
when: packer_builder_type == 'virtualbox-iso'
- role: vmware
when: packer_builder_type == 'vmware-iso'
- role: init
- role: devroles.system.epel
- role: locale
- role: vagrant
- role: cleanup