Skip to content

Commit 232e032

Browse files
committed
orasw_download_patches: ansible-doctor
1 parent 520c594 commit 232e032

File tree

4 files changed

+179
-3
lines changed

4 files changed

+179
-3
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
logging:
3+
level: warning
4+
template: readme
5+
force_overwrite: true
6+
exclude_tags:
7+
- always
8+
- never
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
# orasw_download_patches
2+
3+
Download all patches from Oracle
4+
5+
## Table of content
6+
7+
- [Default Variables](#default-variables)
8+
- [http_proxy](#http_proxy)
9+
- [https_proxy](#https_proxy)
10+
- [mos_login](#mos_login)
11+
- [mos_password](#mos_password)
12+
- [no_proxy](#no_proxy)
13+
- [opatchinfo](#opatchinfo)
14+
- [oracle_patch_download_dir](#oracle_patch_download_dir)
15+
- [oracle_patch_download_host](#oracle_patch_download_host)
16+
- [oracle_plat_lang](#oracle_plat_lang)
17+
- [proxy_env](#proxy_env)
18+
- [use_proxy](#use_proxy)
19+
- [Dependencies](#dependencies)
20+
- [License](#license)
21+
- [Author](#author)
22+
23+
---
24+
25+
## Default Variables
26+
27+
### http_proxy
28+
29+
Define the http proxy for downloads
30+
31+
#### Default value
32+
33+
```YAML
34+
http_proxy:
35+
```
36+
37+
### https_proxy
38+
39+
Define the https proxy for downloads
40+
41+
#### Default value
42+
43+
```YAML
44+
https_proxy:
45+
```
46+
47+
### mos_login
48+
49+
Login name for My Oracle Support (required)
50+
51+
### mos_password
52+
53+
Password for My Oracle Support (required)
54+
55+
### no_proxy
56+
57+
Define no_proxy list für downlads.
58+
59+
#### Default value
60+
61+
```YAML
62+
no_proxy:
63+
```
64+
65+
### opatchinfo
66+
67+
This is an internal variable for downloading patches.
68+
Usually no need to change it.
69+
70+
#### Default value
71+
72+
```YAML
73+
opatchinfo: []
74+
```
75+
76+
### oracle_patch_download_dir
77+
78+
Target directory for patch downloads
79+
80+
#### Default value
81+
82+
```YAML
83+
oracle_patch_download_dir: '{{ oracle_sw_source_local }}'
84+
```
85+
86+
### oracle_patch_download_host
87+
88+
`delegate_to` host for downloads
89+
90+
#### Default value
91+
92+
```YAML
93+
oracle_patch_download_host: localhost
94+
```
95+
96+
### oracle_plat_lang
97+
98+
This is an internal variable for downloading patches.
99+
Usually no need to change it.
100+
101+
#### Default value
102+
103+
```YAML
104+
oracle_plat_lang: 226P
105+
```
106+
107+
### proxy_env
108+
109+
This is an internal variable for downloading patches.
110+
Usually no need to change it.
111+
112+
#### Default value
113+
114+
```YAML
115+
proxy_env:
116+
http_proxy: '{{ http_proxy }}'
117+
https_proxy: '{{ https_proxy }}'
118+
no_proxy: '{{ no_proxy }}'
119+
```
120+
121+
### use_proxy
122+
123+
Enable Proxy for Download
124+
125+
#### Default value
126+
127+
```YAML
128+
use_proxy: false
129+
```
130+
131+
132+
133+
## Dependencies
134+
135+
- orasw_meta
136+
137+
## License
138+
139+
license (MIT)
140+
141+
## Author
142+
143+

roles/orasw_download_patches/defaults/main.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,41 @@
22
# @var mos_login:description: Login name for My Oracle Support (required)
33
# @var mos_password:description: Password for My Oracle Support (required)
44

5-
# proxy support
5+
# @var use_proxy:description: Enable Proxy for Download
66
use_proxy: false
7+
8+
# @var http_proxy:description: Define the http proxy for downloads
79
http_proxy:
10+
11+
# @var https_proxy:description: Define the https proxy for downloads
812
https_proxy:
13+
14+
# @var no_proxy:description: Define no_proxy list für downlads.
915
no_proxy:
1016

17+
# @var proxy_env:description: >
18+
# This is an internal variable for downloading patches.
19+
# Usually no need to change it.
20+
# @end
1121
proxy_env:
1222
http_proxy: "{{ http_proxy }}"
1323
https_proxy: "{{ https_proxy }}"
1424
no_proxy: "{{ no_proxy }}"
1525

26+
# @var oracle_plat_lang:description: >
27+
# This is an internal variable for downloading patches.
28+
# Usually no need to change it.
29+
# @end
1630
oracle_plat_lang: 226P # Linux x86-64
1731

32+
# @var opatchinfo:description: >
33+
# This is an internal variable for downloading patches.
34+
# Usually no need to change it.
35+
# @end
1836
opatchinfo: []
1937

20-
oracle_patch_download_dir: "{{ oracle_sw_source_local }}" # by default download to ansible controller stage area
21-
oracle_patch_download_host: "localhost" # by default download on ansible controller
38+
# @var oracle_patch_download_dir:description: Target directory for patch downloads
39+
oracle_patch_download_dir: "{{ oracle_sw_source_local }}"
40+
41+
# @var oracle_patch_download_host:description: `delegate_to` host for downloads
42+
oracle_patch_download_host: "localhost"

roles/orasw_download_patches/meta/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
---
2+
# @meta description: >
3+
# Download all patches from Oracle
4+
# @end
5+
# @meta author: bartowl <[email protected]>
26
galaxy_info:
37
role_name: orasw_download_patches
48
author: bartowl <[email protected]>

0 commit comments

Comments
 (0)