From a2f4ef8a1d83ac42195ad9c10d95572b44609dcd Mon Sep 17 00:00:00 2001 From: spmfox Date: Mon, 27 May 2024 22:02:53 -0400 Subject: Initial commit of project --- update.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 update.yml (limited to 'update.yml') diff --git a/update.yml b/update.yml new file mode 100644 index 0000000..9d23f7a --- /dev/null +++ b/update.yml @@ -0,0 +1,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" + + - name: Run bootc-update to apply newly built image + ansible.builtin.shell: "bootc update" -- cgit