Skip to content

Commit df11869

Browse files
committed
fixed a problem with thsnames ignoring state in tnsnames_installed
1 parent d7bb544 commit df11869

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)