retrace: run long running tasks in background
This commit is contained in:
parent
91c70c1c83
commit
1bbd40217e
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
|
||||
#long running tasks - run them in background - we do not actually care about the results
|
||||
- name: reposync for fedora
|
||||
command: retrace-server-reposync fedora {{ item[0] }} {{ item[1] }}
|
||||
command: nohup retrace-server-reposync fedora {{ item[0] }} {{ item[1] }} </dev/null >/tmp/ansible.reposync_for_fedora.log &
|
||||
with_nested:
|
||||
- "{{ rs_internal_fedora_vers }}"
|
||||
- "{{ rs_internal_arch_list }}"
|
||||
|
@ -11,7 +12,7 @@
|
|||
when: not devel
|
||||
|
||||
- name: reposync for centos
|
||||
command: retrace-server-reposync centos 7 x86_64
|
||||
command: nohup retrace-server-reposync centos 7 x86_64 </dev/null >/tmp/ansible.reposync_for_centos.log &
|
||||
become: yes
|
||||
become_user: retrace
|
||||
tags: [rs_reposync, rs_fedora]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue