aboutsummaryrefslogtreecommitdiff
path: root/update.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2024-05-27 22:02:53 -0400
committerspmfox <spmfox@foxwd.com>2024-05-27 22:02:53 -0400
commita2f4ef8a1d83ac42195ad9c10d95572b44609dcd (patch)
treebb0f28e9d9b20376367e73bee57f8a026657320b /update.yml
parentb1bf9890d12d965011c2dff639b8eb0b477d7ad2 (diff)
Initial commit of project
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"