Skip to content

Commit

Permalink
Fix unnamed-task linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
talek committed Nov 1, 2022
1 parent 33d3a23 commit dea85bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 3 additions & 6 deletions roles/oradb_tzupgrade/tasks/cdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@
become_user: "{{ oracle_user }}"
register: pdbs_info

- set_fact:
# noqa unnamed-task
- ansible.builtin.set_fact: # noqa unnamed-task
candidate_pdbs: "{{ pdbs_info.state.ROW[0].PDB_LIST | default('') }}"

- debug:
# noqa unnamed-task
- ansible.builtin.debug: # noqa unnamed-task
msg: "Candidate PDBs: {{ candidate_pdbs }}"

- block: # noqa unnamed-task
Expand Down Expand Up @@ -82,6 +80,5 @@
changed_when: false
register: post_status_info

- debug:
# noqa unnamed-task
- ansible.builtin.debug: # noqa unnamed-task
msg: "{{ post_status_info.msg | split('\n') }}"
3 changes: 1 addition & 2 deletions roles/oradb_tzupgrade/tasks/non_cdb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,5 @@
changed_when: false
register: post_status_info

- debug:
# noqa unnamed-task
- ansible.builtin.debug: # noqa unnamed-task
msg: "{{ post_status_info.msg | split('\n') }}"

0 comments on commit dea85bc

Please sign in to comment.