Skip to content

Commit

Permalink
Made code pass ansible-lint v5 checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Mar 6, 2021
1 parent f956653 commit 7e72cb2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .ansible-lint
@@ -0,0 +1,4 @@
skip_list:
# temporary added during migration to v5
- yaml
- no-handler
3 changes: 2 additions & 1 deletion roles/jenkins/tasks/main.yml
Expand Up @@ -32,7 +32,8 @@
become_user: "{{ jenkins_user }}"
notify: generate public SSH key

- meta: flush_handlers
- name: flush handlers
meta: flush_handlers

- name: read SSH key
become: true
Expand Down
3 changes: 2 additions & 1 deletion roles/jenkins_configure/tasks/ensure_up.yml
Expand Up @@ -40,7 +40,8 @@
'Error' in _auth_check.output or
'Error' in ( _auth_check.msg | default('') )
- debug:
- name: print _auth_check
debug:
var: _auth_check

- name: save API key
Expand Down
3 changes: 2 additions & 1 deletion roles/mirror/molecule/shared/playbook.yml
Expand Up @@ -29,5 +29,6 @@
register: _mirror
changed_when: false

- debug:
- name: print mirror output
debug:
var: _mirror.stdout

0 comments on commit 7e72cb2

Please sign in to comment.