24 lines
613 B
YAML
24 lines
613 B
YAML
---
|
|
# 20261006 Hyperling
|
|
|
|
# Allow ansible.builtin.service to be used on Artix similar to Devuan.
|
|
- name: General | Software | runit | Fix Artix
|
|
block:
|
|
|
|
- name: General | Software | runit | Fix Artix | Script Dir
|
|
ansible.builtin.file:
|
|
src: /etc/runit/sv
|
|
dest: /etc/sv
|
|
state: link
|
|
force: true
|
|
|
|
- name: General | Software | runit | Fix Artix | Service Dir
|
|
ansible.builtin.file:
|
|
src: /etc/runit/runsvdir/default
|
|
dest: /var/service
|
|
state: link
|
|
force: true
|
|
|
|
when: ansible_service_mgr == "runit"
|
|
and ansible_pkg_mgr == "pacman"
|