fix: Change installation task for CoreOS
This commit is contained in:
parent
94dcd1374e
commit
d92ec3fd51
@ -1,6 +1,13 @@
|
||||
---
|
||||
# handlers file for drone_runner_exec
|
||||
|
||||
- name: Apply installation
|
||||
ansible.builtin.command:
|
||||
argv:
|
||||
- /usr/bin/rpm-ostree
|
||||
- apply-live
|
||||
become: true
|
||||
|
||||
- name: Restart drone-runner-exec.service
|
||||
ansible.builtin.systemd:
|
||||
enabled: true
|
||||
|
@ -4,7 +4,7 @@
|
||||
- name: Install prerequisites
|
||||
ansible.builtin.command:
|
||||
argv: "{{ rpm_ostree + drone_runner_exec_prerequisites }}"
|
||||
creates: /sysroot/ostree/repo/refs/heads/rpmostree/pkg/borgmatic
|
||||
creates: "{{ [creates_path] | product(drone_runner_exec_prerequisites) | map('join') | list }}"
|
||||
become: true
|
||||
vars:
|
||||
rpm_ostree:
|
||||
@ -13,6 +13,7 @@
|
||||
- --allow-inactive
|
||||
- --assumeyes
|
||||
- --idempotent
|
||||
creates_path: /sysroot/ostree/repo/refs/heads/rpmostree/pkg/borgmatic
|
||||
notify: Apply installation
|
||||
|
||||
- name: Flush handlers
|
||||
|
Loading…
x
Reference in New Issue
Block a user