File tree Expand file tree Collapse file tree 8 files changed +24
-24
lines changed
Expand file tree Collapse file tree 8 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 99
1010 - name : Mount nfs share with installation media
1111 mount : src="{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" name={{ oracle_stage_remote }} fstype=nfs state=mounted
12- when : install_from_nfs|bool
12+ when : install_from_nfs
1313 tags :
1414 - nfsmountdb
1515
7979 - " {{oracle_databases}}"
8080 become : yes
8181 become_user : " {{ oracle_user }}"
82- when : master_node and item[0].version == item[1].oracle_version_db and not is_sw_source_local and oracle_sw_copy|bool
82+ when : master_node and item[0].version == item[1].oracle_version_db and not is_sw_source_local and oracle_sw_copy
8383 tags :
8484 - oradbsw
8585
9090 - " {{oracle_databases}}"
9191 become : yes
9292 become_user : " {{ oracle_user }}"
93- when : master_node and item[0].version == item[1].oracle_version_db and is_sw_source_local and oracle_sw_copy|bool
93+ when : master_node and item[0].version == item[1].oracle_version_db and is_sw_source_local and oracle_sw_copy
9494 tags :
9595 - oradbsw
9696
101101 - " {{oracle_databases}}"
102102 become : yes
103103 become_user : " {{ oracle_user }}"
104- when : master_node and item[0].version == item[1].oracle_version_db and oracle_sw_copy|bool and oracle_sw_unpack|bool
104+ when : master_node and item[0].version == item[1].oracle_version_db and oracle_sw_copy and oracle_sw_unpack
105105 tags :
106106 - oradbswunpack
107107
112112 - " {{oracle_databases}}"
113113 become : yes
114114 become_user : " {{ oracle_user }}"
115- when : master_node and item[0].version == item[1].oracle_version_db and not oracle_sw_copy|bool and oracle_sw_unpack|bool
115+ when : master_node and item[0].version == item[1].oracle_version_db and not oracle_sw_copy and oracle_sw_unpack
116116 tags :
117117 - oradbswunpack
118118
209209
210210 - name : Unmount nfs share with installation media
211211 mount : src="{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" name={{ oracle_stage_remote }} fstype=nfs state=absent
212- when : install_from_nfs|bool
212+ when : install_from_nfs
213213 tags :
214214 - nfsunmountdb
215215
Original file line number Diff line number Diff line change 77 become_user : " {{ grid_install_user }}"
88 tags :
99 - oragridswunpack
10- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy|bool and oracle_sw_unpack|bool
10+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy and oracle_sw_unpack
1111
1212- name : Extract files to stage-area (GI) (from remote location)
1313 unarchive : src={{ oracle_stage_remote }}/{{ item.filename }} dest={{ oracle_stage }}/{{ item.version }} copy=no
1616 become_user : " {{ grid_install_user }}"
1717 tags :
1818 - oragridswunpack
19- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy|bool and oracle_sw_unpack|bool
19+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy and oracle_sw_unpack
2020
2121- name : Install cvuqdisk rpm
2222 yum : name="{{ oracle_stage_install }}/{{ oracle_install_version_gi }}/grid/rpm/{{ cvuqdisk_rpm }}" state=present
Original file line number Diff line number Diff line change 77 become_user : " {{ grid_install_user }}"
88 tags :
99 - oragridswunpack
10- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy|bool and oracle_sw_unpack|bool
10+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy and oracle_sw_unpack
1111
1212- name : Extract files to stage-area (GI) (from remote location)
1313 unarchive : src={{ oracle_stage_remote }}/{{ item.filename }} dest={{ oracle_stage }}/{{ item.version }} copy=no
1616 become_user : " {{ grid_install_user }}"
1717 tags :
1818 - oragridswunpack
19- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy|bool and oracle_sw_unpack|bool
19+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy and oracle_sw_unpack
2020
2121- name : Install cvuqdisk rpm
2222 yum : name="{{ oracle_stage_install }}/{{ oracle_install_version_gi }}/grid/rpm/{{ cvuqdisk_rpm }}" state=present
Original file line number Diff line number Diff line change 77 become_user : " {{ grid_install_user }}"
88 tags :
99 - oragridswunpack
10- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy|bool and oracle_sw_unpack|bool
10+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy and oracle_sw_unpack
1111
1212- name : Extract files to stage-area (GI) (from remote location)
1313 unarchive : src={{ oracle_stage_remote }}/{{ item.filename }} dest={{ oracle_stage }}/{{ item.version }} copy=no
1616 become_user : " {{ grid_install_user }}"
1717 tags :
1818 - oragridswunpack
19- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy|bool and oracle_sw_unpack|bool
19+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy and oracle_sw_unpack
2020
2121- name : Install cvuqdisk rpm
2222 yum : name="{{ oracle_stage_install }}/{{ oracle_install_version_gi }}/grid/rpm/{{ cvuqdisk_rpm }}" state=present
Original file line number Diff line number Diff line change 77 become_user : " {{ grid_install_user }}"
88 tags :
99 - oragridswunpack
10- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy|bool and oracle_sw_unpack|bool
10+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy and oracle_sw_unpack
1111
1212- name : Extract files to stage-area (GI) (from remote location)
1313 unarchive : src={{ oracle_stage_remote }}/{{ item.filename }} dest={{ oracle_stage }}/{{ item.version }} copy=no
1616 become_user : " {{ grid_install_user }}"
1717 tags :
1818 - oragridswunpack
19- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy|bool and oracle_sw_unpack|bool
19+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and not oracle_sw_copy and oracle_sw_unpack
2020
2121- name : Install cvuqdisk rpm
2222 yum : name="{{ oracle_stage_install }}/{{ oracle_install_version_gi }}/grid/rpm/{{ cvuqdisk_rpm }}" state=present
Original file line number Diff line number Diff line change 99 become_user : " {{ grid_install_user }}"
1010 tags :
1111 - oragridswunpack
12- when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy|bool and oracle_sw_unpack|bool
12+ when : checkgiinstall.stdout != "1" and oracle_install_version_gi == item.version and oracle_sw_copy and oracle_sw_unpack
1313
1414 - name : Extract files to ORACLE_HOME (gi) (from remote location)
1515 unarchive : src={{ oracle_stage_remote }}/{{ item.filename }} dest={{ oracle_home_gi }} copy=no
Original file line number Diff line number Diff line change 1010 mount : src="{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" name={{ oracle_stage_remote }} fstype=nfs state=mounted
1111 tags :
1212 - nfsmountgi
13- when : install_from_nfs|bool
13+ when : install_from_nfs
1414
1515 - name : Add new dotprofile (GI)
1616 template : src=dotprofile-gi.j2 dest={{ grid_user_home }}/{{ oracle_profile_name_gi }} owner={{ grid_install_user }} group={{ oracle_group }} mode=755 backup=yes
6969 become_user : " {{ grid_install_user }}"
7070 tags :
7171 - oragridsw
72- when : checkgiinstall.stdout != "1" and not is_sw_source_local and oracle_install_version_gi == item.version and oracle_sw_copy|bool
72+ when : checkgiinstall.stdout != "1" and not is_sw_source_local and oracle_install_version_gi == item.version and oracle_sw_copy
7373
7474 - name : Copy oracle installfiles to server (GI) (local)
7575 copy : src={{ oracle_sw_source_local }}/{{ item.filename }} dest={{ oracle_stage }} mode=775
7878 become_user : " {{ grid_install_user }}"
7979 tags :
8080 - oragridsw
81- when : checkgiinstall.stdout != "1" and is_sw_source_local and oracle_install_version_gi == item.version and oracle_sw_copy|bool
81+ when : checkgiinstall.stdout != "1" and is_sw_source_local and oracle_install_version_gi == item.version and oracle_sw_copy
8282
8383
8484 - include : " {{ oracle_install_version_gi }}.yml"
149149
150150 - name : Unmount nfs share with installation media
151151 mount : src="{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" name={{ oracle_stage_remote }} fstype=nfs state=absent
152- when : install_from_nfs|bool
152+ when : install_from_nfs
153153 tags : nfsunmountgi
Original file line number Diff line number Diff line change 4343 become : yes
4444 become_user : " {{ grid_install_user }}"
4545 with_items : " {{oracle_opatch_patch}}"
46- when : oracle_psu_apply_gi and item.version == oracle_install_version_gi and oracle_sw_copy|bool and oracle_sw_unpack|bool
46+ when : oracle_psu_apply_gi and item.version == oracle_install_version_gi and oracle_sw_copy and oracle_sw_unpack
4747 tags :
4848 - oragridpatchunpack
4949
5252 with_items : " {{oracle_opatch_patch}}"
5353 become : yes
5454 become_user : " {{ grid_install_user }}"
55- when : oracle_psu_apply_gi and item.version == oracle_install_version_gi and not oracle_sw_copy|bool and oracle_sw_unpack|bool
55+ when : oracle_psu_apply_gi and item.version == oracle_install_version_gi and not oracle_sw_copy and oracle_sw_unpack
5656 tags :
5757 - oragridpatchunpack
5858
6464 with_together :
6565 - " {{oracle_sw_image_gi_psu}}"
6666 - " {{gi_applied_patches.results}}"
67- when : oracle_psu_apply_gi and item.0.version == oracle_install_version_gi and not item.1.stdout != 0 and oracle_sw_copy|bool and oracle_sw_unpack|bool
67+ when : oracle_psu_apply_gi and item.0.version == oracle_install_version_gi and not item.1.stdout != 0 and oracle_sw_copy and oracle_sw_unpack
6868 tags :
6969 - oragridpsuunpack
7070
7575 with_together :
7676 - " {{oracle_sw_image_gi_psu}}"
7777 - " {{gi_applied_patches.results}}"
78- when : oracle_psu_apply_gi and item.0.version == oracle_install_version_gi and not item.1.stdout != 0 and not oracle_sw_copy|bool and oracle_sw_unpack|bool
78+ when : oracle_psu_apply_gi and item.0.version == oracle_install_version_gi and not item.1.stdout != 0 and not oracle_sw_copy and oracle_sw_unpack
7979 tags :
8080 - oragridpsuunpack
8181
8989# become_user: "{{ grid_install_user }}"
9090# tags:
9191# - oragridswunpack
92- # when: checkgiinstall.stdout != "1" and "{{ oracle_install_version_gi }}" == "{{ item.version }}" and not oracle_sw_copy|bool and oracle_sw_unpack|bool
92+ # when: checkgiinstall.stdout != "1" and "{{ oracle_install_version_gi }}" == "{{ item.version }}" and not oracle_sw_copy and oracle_sw_unpack
9393
9494 - name : Distribute latest opatch
9595 shell : rm -rf {{ oracle_home_gi }}/OPatch; cp -Rvp {{ oracle_psu_stage }}/{{ oracle_install_version_gi }}/OPatch {{ oracle_home_gi }}; chown -R {{ grid_install_user }}:{{ oracle_group }} {{ oracle_home_gi }}/OPatch
You can’t perform that action at this time.
0 commit comments