main.yml 625 Bytes
Newer Older
1
2
3
4
5
---

- name: install binutils
  pacman: name=binutils state=present

6
7
8
9
10
11
12
- name: install createlinks script
  copy: src=createlinks dest=/usr/local/bin/createlinks owner=root group=root mode=0755

- name: remove sogrep script (now part of devtools)
  file:
    path: /usr/local/bin/sogrep
    state: absent
13
14
15
16
17
18
19
20

- name: install sogrep units
  copy: src={{ item }} dest=/etc/systemd/system/{{ item }} owner=root group=root mode=0644
  with_items:
    - createlinks.timer
    - createlinks.service

- name: start and enable sogrep units
21
22
23
24
25
  systemd:
    name: createlinks.timer
    enabled: yes
    state: started
    daemon_reload: yes