Commit 6029e606 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

Merge branch 'move-createlinks-into-dbscripts' into 'master'

Merge sogrep (createlinks script) into dbscripts

See merge request !279
parents 669d5400 6d813e52
Pipeline #4793 passed with stage
in 39 seconds
......@@ -48,7 +48,6 @@
### Services
- build server
- sogrep
## state.archlinux.org
......
......@@ -12,7 +12,6 @@
- { role: archusers }
- { role: sudo, tags: ['archusers'] }
- { role: syncrepo }
- { role: sogrep }
- { role: archbuild }
- { role: fail2ban }
- { role: prometheus_exporters }
......@@ -24,5 +24,4 @@
- { role: archive_web }
- { role: postfix, postfix_relayhost: "mail.archlinux.org" }
- { role: fail2ban }
- sogrep
- { role: prometheus_exporters }
......@@ -6,6 +6,9 @@
- name: install sourceballs requirements (makepkg download dependencies)
pacman: name=git,subversion,mercurial,breezy state=present
- name: install binutils for createlinks script
pacman: name=binutils state=present
- name: create dbscripts users
user: name="{{ item }}" shell=/bin/bash
with_items:
......@@ -294,6 +297,9 @@
- lsrepo
- checklib32
- name: install createlinks script
copy: src=createlinks dest=/usr/local/bin/createlinks owner=root group=root mode=0755
- name: start and enable rsync
service: name=rsyncd.socket enabled=yes state=started
......@@ -328,6 +334,8 @@
- gen_rsyncd.service
- arch-svntogit.timer
- arch-svntogit.service
- createlinks.timer
- createlinks.service
notify:
- daemon reload
......@@ -339,3 +347,4 @@
- lastsync.timer
- gen_rsyncd.timer
- arch-svntogit.timer
- createlinks.timer
---
- name: install binutils
pacman: name=binutils state=present
- 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
- 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
systemd:
name: createlinks.timer
enabled: yes
state: started
daemon_reload: yes
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment