Skip to content

Commit

Permalink
oraswgi_golden_image: Fixed wrong varible names oraswgi_golen_* to or…
Browse files Browse the repository at this point in the history
…aswgi_golden_* from breaking change oravirt#383
  • Loading branch information
Rendanic committed Nov 19, 2023
1 parent ce99dc5 commit 6b44421
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/golen_image_typo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
breaking_changes:
- "oraswgi_golden_image: Fixed wrong varible names oraswgi_golen_* to oraswgi_golden_* from breaking change oravirt#383 ()"
20 changes: 10 additions & 10 deletions roles/oraswgi_golden_image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Create Golden-Images from Oracle Grid-Infrastructure/Restart
- [Requirements](#requirements)
- [Default Variables](#default-variables)
- [golden_image_dest](#golden_image_dest)
- [oraswgi_golden_image_create](#oraswgi_golden_image_create)
- [oraswgi_golden_image_filename](#oraswgi_golden_image_filename)
- [oraswgi_golen_image_create](#oraswgi_golen_image_create)
- [Discovered Tags](#discovered-tags)
- [Dependencies](#dependencies)
- [License](#license)
Expand All @@ -29,27 +29,27 @@ Set destination directory for Golden-Image extraction.

Variable has no default value.

### oraswgi_golden_image_filename
### oraswgi_golden_image_create

Filename of created Image archive.
Crfeate Golden-Image for Grid-Infrastructure/Restart.

#### Default value

```YAML
oraswgi_golden_image_filename: >-
{% if oracle_install_option_gi == 'CRS_CONFIG' -%}
gi_{% else %}restart_{% endif %}{{ oracle_install_version_gi | split('.') | first
}}.zip
oraswgi_golden_image_create: false
```
### oraswgi_golen_image_create
### oraswgi_golden_image_filename
Crfeate Golden-Image for Grid-Infrastructure/Restart.
Filename of created Image archive.
#### Default value
```YAML
oraswgi_golen_image_create: false
oraswgi_golden_image_filename: >-
{% if oracle_install_option_gi == 'CRS_CONFIG' -%}
gi_{% else %}restart_{% endif %}{{ oracle_install_version_gi | split('.') | first
}}.zip
```
## Discovered Tags
Expand Down
4 changes: 2 additions & 2 deletions roles/oraswgi_golden_image/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# Variable has no default value.
# @end

# @var oraswgi_golen_image_create:description: >
# @var oraswgi_golden_image_create:description: >
# Crfeate Golden-Image for Grid-Infrastructure/Restart.
# @end
oraswgi_golen_image_create: false
oraswgi_golden_image_create: false

# @var oraswgi_golden_image_filename:description: >
# Filename of created Image archive.
Expand Down
2 changes: 1 addition & 1 deletion roles/oraswgi_golden_image/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
become_user: "{{ oracle_user }}"
when:
- oracle_home_gi is defined
- oraswgi_golen_image_create | bool
- oraswgi_golden_image_create | bool
tags:
- golden_image_gi
block:
Expand Down

0 comments on commit 6b44421

Please sign in to comment.