File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
roles/oradb_manage_db/tasks Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ bugfixes :
3+ - " oradb_manage_db: check if .bashrc exists before trying to disable ocenv"
Original file line number Diff line number Diff line change 1818 group : " {{ oracle_group }}"
1919 mode : ' 0644'
2020
21+ - name : manage_db | Check if .bashrc exists
22+ ansible.builtin.stat :
23+ path : " {{ oracle_user_home }}/.bashrc"
24+ register : bashrc_status
25+
2126 # OUI in RAC mode has issues with echo in '.bashrc'
2227 # Move the echo to .bash_profile
2328 # This task should be removed in a later Release of ansible-oracle
2732 marker : " # {mark} ocenv ANSIBLE MANAGED BLOCK"
2833 backup : false
2934 state : absent
35+ when : bashrc_status.stat.exists
3036
3137 - name : manage_db | add ocenv to .bash_profile # noqa: args[module]
3238 ansible.builtin.blockinfile :
You can’t perform that action at this time.
0 commit comments