retrace: use different condition

This commit is contained in:
Miroslav Suchý 2017-04-20 12:55:27 +02:00
parent 4f36cdb97a
commit 3916b66586
5 changed files with 11 additions and 5 deletions

View file

@ -13,6 +13,8 @@ custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.78.11 --dport 2049 -j ACCEPT',
nrpe_procs_warn: 1800
nrpe_procs_crit: 2000
devel: false
# Since retrace is on the qa network, it needs to actively connect to our
# inbound relay.
fedmsg_active: True

View file

@ -12,3 +12,5 @@ datacenter: phx2
mem_size: 4096
max_mem_size: 16384
num_cpus: 2
devel: true

View file

@ -19,3 +19,5 @@ rs_use_faf_packages: false
# we do not have enough storage on stg
rs_internal_fedora_vers: [rawhide]
rs_internal_arch_list: [x86_64]
devel: true

View file

@ -10,7 +10,7 @@
- "{{ rs_internal_arch_list }}"
special_time: daily
state: present
when: deployment_type != 'stg'
when: not devel
- name: Create cron job for retrace-server
cron:
@ -19,7 +19,7 @@
job: "retrace-server-reposync centos 7 x86_64 >> /var/log/retrace-server/reposync_error.log 2>&1"
special_time: daily
state: present
when: deployment_type != 'stg'
when: not devel
- name: Create cron job for retrace-server
cron:
@ -28,4 +28,4 @@
job: "/usr/bin/retrace-server-cleanup >> /var/log/retrace-server/cleanup_error.log 2>&1"
special_time: daily
state: present
when: deployment_type != 'stg'
when: not devel

View file

@ -8,14 +8,14 @@
become: yes
become_user: retrace
tags: [rs_reposync, rs_fedora]
when: deployment_type != 'stg'
when: not devel
- name: reposync for centos
command: retrace-server-reposync centos 7 x86_64
become: yes
become_user: retrace
tags: [rs_reposync, rs_fedora]
when: deployment_type != 'stg'
when: not devel
- file:
path: /srv/retrace/repos