mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-09-11 01:20:31 +02:00
The sequoia cli once again changed their interface, therefore port this to the (somewhat guaranteed to be) stable sops interface. Suggested-by: David Runge <dvzrv@archlinux.org> Signed-off-by: Christian Heusel <christian@heusel.eu>
23 lines
737 B
YAML
23 lines
737 B
YAML
- name: Install rsop
|
|
pacman: name=rsop state=present
|
|
|
|
- name: Install systemd service/timer
|
|
copy: src={{ item }} dest="/etc/systemd/system/{{ item }}" owner=root group=root mode=0644
|
|
loop:
|
|
- gluebuddy.service
|
|
- gluebuddy.timer
|
|
notify:
|
|
- Daemon reload
|
|
|
|
- name: Install conf file
|
|
template: src=gluebuddy.conf.j2 dest=/etc/conf.d/gluebuddy owner=root group=root mode=0600
|
|
|
|
- name: Install download script
|
|
copy: src=gluebuddy_download.sh dest=/usr/local/bin/gluebuddy_download.sh owner=root group=root mode=0755
|
|
|
|
- name: Download latest gluebuddy # noqa no-changed-when
|
|
command: /usr/local/bin/gluebuddy_download.sh
|
|
|
|
- name: Start and enable timer
|
|
systemd_service: name=gluebuddy.timer enabled=yes state=started
|