mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 13:01:36 +08:00
openqa/server: fix one of the git checkout conditions
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
register: gittests
|
||||
become: true
|
||||
become_user: geekotest
|
||||
when: "(testsbranch.stdout.find('Not a git repository') != -1) or (testsbranch.stdout.find('On branch master') != -1)"
|
||||
when: "(testsbranch.stderr.find('Not a git repository') != -1) or (testsbranch.stdout.find('On branch master') != -1)"
|
||||
|
||||
- name: Remove old openqa_fedora_tools checkout
|
||||
file: path=/root/openqa_fedora_tools state=absent
|
||||
|
||||
Reference in New Issue
Block a user