diff options
| author | spmfox <spmfox@foxwd.com> | 2024-05-27 22:02:53 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2024-05-27 22:02:53 -0400 |
| commit | a2f4ef8a1d83ac42195ad9c10d95572b44609dcd (patch) | |
| tree | bb0f28e9d9b20376367e73bee57f8a026657320b /update.yml | |
| parent | b1bf9890d12d965011c2dff639b8eb0b477d7ad2 (diff) | |
Initial commit of project
Diffstat (limited to 'update.yml')
| -rw-r--r-- | update.yml | 15 |
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" |
