Skip to content

Commit b00cb91

Browse files
authored
Merge pull request #225 from bartowl/feature/tnsnames-ignore-state
fixed a problem with thsnames ignoring state in tnsnames_installed
2 parents 1aafe00 + df11869 commit b00cb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/oradb-manage-db/tasks/tnsnames.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
create: True
2323
group: "{{ oracle_group }}"
2424
owner: "{{ oracle_user }}"
25-
state: present
25+
state: "{{ tnsinst.state | default('present') }}"
2626
mode: 0644
2727
insertafter: "EOF"
2828
marker: "# {mark} Ansible managed for {{ tnsinst.tnsname }}"

0 commit comments

Comments
 (0)