Skip to content

Commit

Permalink
fix refactoring bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bartowl authored and Rendanic committed Nov 25, 2022
1 parent 6c7e0f5 commit 6e0f9c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/128-oradb_manage_grants.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "fix oradb_manage_grants (#306)"
4 changes: 2 additions & 2 deletions roles/oradb_manage_grants/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
when:
- oracle_pdbs is defined
- item.0 is defined
- and item.0.state | lower == 'present'
- and (item.1.grants is defined or item.1.object_privs is defined)
- item.0.state | lower == 'present'
- (item.1.grants is defined or item.1.object_privs is defined)
run_once: "{{ configure_cluster }}"
become_user: "{{ oracle_user }}"
loop_control:
Expand Down

0 comments on commit 6e0f9c7

Please sign in to comment.