diff options
| author | Adam Williamson <awilliam@redhat.com> | 2017-03-04 15:34:26 -0800 |
|---|---|---|
| committer | Adam Williamson <awilliam@redhat.com> | 2017-03-04 15:35:02 -0800 |
| commit | 167376f4510e8b59eaec962645cb1486b164f700 (patch) | |
| tree | f16c8e1f1934928ae83debff2957fd9a7925c597 /roles/openqa/server | |
| parent | 78106fe297d0ae8896f04aabd76d7bc3c35efbf7 (diff) | |
| download | ansible-167376f4510e8b59eaec962645cb1486b164f700.tar.gz ansible-167376f4510e8b59eaec962645cb1486b164f700.tar.xz ansible-167376f4510e8b59eaec962645cb1486b164f700.zip | |
openqa/server: fix one of the git checkout conditions
Diffstat (limited to 'roles/openqa/server')
| -rw-r--r-- | roles/openqa/server/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openqa/server/tasks/main.yml b/roles/openqa/server/tasks/main.yml index 37053e42d..a381ac911 100644 --- a/roles/openqa/server/tasks/main.yml +++ b/roles/openqa/server/tasks/main.yml @@ -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 |
