aboutsummaryrefslogtreecommitdiff
path: root/update.yml
diff options
context:
space:
mode:
Diffstat (limited to 'update.yml')
-rw-r--r--update.yml15
1 files changed, 15 insertions, 0 deletions
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"