Skip to content
Snippets Groups Projects
Unverified Commit b70d986b authored by Sander Cornelissen's avatar Sander Cornelissen Committed by GitHub
Browse files

Ensure when use_oracle_public_repo is set to false the public Oracle Linux yum...

Ensure when use_oracle_public_repo is set to false the public Oracle Linux yum repos are not set (#7228)
parent 973628fc
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@
- { option: "enabled", value: "1" }
- { option: "baseurl", value: "http://yum.oracle.com/repo/OracleLinux/OL{{ ansible_distribution_major_version }}/addons/x86_64/" }
when:
- use_oracle_public_repo|default(true)
- '"Oracle" in os_release.stdout'
- (ansible_distribution_version | float) >= 7.6
......@@ -59,6 +60,7 @@
name: "oracle-epel-release-el{{ ansible_distribution_major_version }}"
state: present
when:
- use_oracle_public_repo|default(true)
- '"Oracle" in os_release.stdout'
- (ansible_distribution_version | float) >= 7.6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment