forked from oravirt/ansible-oracle
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request oravirt#269 from Rendanic/prnfs
Changes for NFS installation media
- Loading branch information
Showing
8 changed files
with
63 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
bugfixes: | ||
- "orasw_meta: added tasks/mount_stage_remote.yml (#269)" | ||
- "orasw_meta: added tasks/umount_stage_remote.yml (#269)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
# Do not mount installation media during boot! | ||
- name: orasw_meta | Mount nfs share with installation media | ||
ansible.builtin.mount: | ||
src: "{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" | ||
name: "{{ oracle_stage_remote }}" | ||
fstype: nfs | ||
state: mounted | ||
when: install_from_nfs | ||
tags: | ||
- nfsmountdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
# Try to umount and ignore_errors | ||
- name: orasw_meta | Umount nfs share with installation media | ||
ansible.builtin.mount: | ||
src: "{{ nfs_server_sw }}:{{ nfs_server_sw_path }}" | ||
name: "{{ oracle_stage_remote }}" | ||
fstype: nfs | ||
state: absent | ||
# noqa ignore-errors | ||
ignore_errors: true | ||
when: install_from_nfs | ||
tags: | ||
- nfsumountdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters