openqa/dispatcher: fix ansible-lint detected errors
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
5e10e633fd
commit
7278d3f451
2 changed files with 10 additions and 10 deletions
|
@ -189,7 +189,7 @@
|
|||
# branch, as that usually means we're messing around on staging and
|
||||
# don't want the checkout reset to HEAD.
|
||||
- name: Check if tests are checked out and on a non-standard branch
|
||||
command: "git status"
|
||||
command: "git status" # noqa 303
|
||||
args:
|
||||
chdir: /root/fedora_openqa
|
||||
register: toolsbranch
|
||||
|
@ -199,7 +199,7 @@
|
|||
|
||||
- name: Check out fedora_openqa (scheduler / reporter tool)
|
||||
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
|
||||
register: gittools
|
||||
when: "(toolsbranch.stderr.find('Not a git repository') != -1) or (toolsbranch.stdout.find('On branch master') != -1)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue