mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
retrace: create the temp files in /tmp
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#long running tasks - run them in background - we do not actually care about the results
|
||||
- name: reposync for fedora
|
||||
shell: nohup retrace-server-reposync fedora {{ item[0] }} {{ item[1] }} </dev/null >$(mktemp ansible.reposync_for_fedoraXXXXXX.log) &
|
||||
shell: nohup retrace-server-reposync fedora {{ item[0] }} {{ item[1] }} </dev/null >$(mktemp /tmp/ansible.reposync_for_fedoraXXXXXX.log) &
|
||||
with_nested:
|
||||
- "{{ rs_internal_fedora_vers }}"
|
||||
- "{{ rs_internal_arch_list }}"
|
||||
@@ -12,7 +12,7 @@
|
||||
when: not devel
|
||||
|
||||
- name: reposync for centos
|
||||
shell: nohup retrace-server-reposync centos 7 x86_64 </dev/null >$(mktemp ansible.reposync_for_centosXXXXXX.log) &
|
||||
shell: nohup retrace-server-reposync centos 7 x86_64 </dev/null >$(mktemp /tmp/ansible.reposync_for_centosXXXXXX.log) &
|
||||
become: yes
|
||||
become_user: retrace
|
||||
tags: [rs_reposync, rs_fedora]
|
||||
|
||||
Reference in New Issue
Block a user