blob: 8e892a98214ccc2e0e08c0ce45a5cb5391243038 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- hosts: all
become: true
gather_facts: false
tasks:
- name: Create /root/BootcBlade.containerfile
ansible.builtin.template:
src: "bootcblade.containerfile.j2"
dest: "/root/bootcblade.containerfile"
- name: Build BootcBlade container image
ansible.builtin.shell: "podman build -t localhost/bootcblade -f /root/bootcblade.containerfile --no-cache --pull=always"
- name: Run bootc-update to apply newly built image
ansible.builtin.shell: "bootc update"
|