mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 19:42:55 +08:00
Drop the variant-specific config again, hoping for ref=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
MAILTO=""
|
||||
*/15 * * * * root /usr/bin/curl -f https://kojipkgs.fedoraproject.org/atomic/repo/summary -o /srv/web/ostree_allofthem/summary
|
||||
*/15 * * * * root /usr/bin/curl -f https://kojipkgs.fedoraproject.org/atomic/repo/summary -o /srv/web/ostree/summary
|
||||
|
||||
@@ -18,38 +18,8 @@
|
||||
- fedora-web
|
||||
- ostree
|
||||
|
||||
- name: make ostree "allofthem" dir
|
||||
file: state=directory
|
||||
path=/srv/web/ostree_allofthem
|
||||
owner=apache
|
||||
group=sysadmin-releng
|
||||
mode=2775
|
||||
setype=httpd_sys_content_t
|
||||
seuser=system_u
|
||||
tags:
|
||||
- fedora-web
|
||||
- ostree
|
||||
|
||||
- name: make ostree variant dir symlinks
|
||||
file: state=link
|
||||
dest=/srv/web/ostree/{{ item }}
|
||||
src=/srv/web/ostree_allofthem
|
||||
owner=apache
|
||||
group=sysadmin-releng
|
||||
mode=2775
|
||||
setype=httpd_sys_content_t
|
||||
seuser=system_u
|
||||
with_items:
|
||||
- atomichost
|
||||
- coreos
|
||||
- silverblue
|
||||
- iot
|
||||
tags:
|
||||
- fedora-web
|
||||
- ostree
|
||||
|
||||
- name: Copy over the static files
|
||||
copy: src={{item}} dest=/srv/web/ostree_allofthem/{{item}} mode=0644
|
||||
copy: src={{item}} dest=/srv/web/ostree/{{item}} mode=0644
|
||||
with_items:
|
||||
- config
|
||||
- mirrorlist
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
command[check_ticketkey_age]={{ libdir }}/nagios/plugins/check_file_age -w 3600 -c 7200 -f /etc/httpd/ticketkey_{{env}}.tkey
|
||||
command[check_ostree_summary_file_age]=/usr/lib64/nagios/plugins/check_file_age -w 1800 -c 3600 /srv/web/ostree_allofthem/summary
|
||||
command[check_ostree_summary_file_age]=/usr/lib64/nagios/plugins/check_file_age -w 1800 -c 3600 /srv/web/ostree/summary
|
||||
|
||||
Reference in New Issue
Block a user