openqa/dispatcher: fix ansible-lint detected errors

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-04-29 16:49:32 -07:00
parent 5e10e633fd
commit 7278d3f451
2 changed files with 10 additions and 10 deletions

View file

@ -189,7 +189,7 @@
# branch, as that usually means we're messing around on staging and # branch, as that usually means we're messing around on staging and
# don't want the checkout reset to HEAD. # don't want the checkout reset to HEAD.
- name: Check if tests are checked out and on a non-standard branch - name: Check if tests are checked out and on a non-standard branch
command: "git status" command: "git status" # noqa 303
args: args:
chdir: /root/fedora_openqa chdir: /root/fedora_openqa
register: toolsbranch register: toolsbranch
@ -199,7 +199,7 @@
- name: Check out fedora_openqa (scheduler / reporter tool) - name: Check out fedora_openqa (scheduler / reporter tool)
git: git:
repo: https://pagure.io/fedora-qa/fedora_openqa.git repo: https://pagure.io/fedora-qa/fedora_openqa.git # noqa 401
dest: /root/fedora_openqa dest: /root/fedora_openqa
register: gittools register: gittools
when: "(toolsbranch.stderr.find('Not a git repository') != -1) or (toolsbranch.stdout.find('On branch master') != -1)" when: "(toolsbranch.stderr.find('Not a git repository') != -1) or (toolsbranch.stdout.find('On branch master') != -1)"