Skip to content

Commit

Permalink
Fix typo in var name (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar authored Dec 5, 2024
1 parent 5b86a3c commit 1d1cba2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion defaults/main/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ disable_gpg_check_rpm_repo: true
apt_update_cache: true

# Set to "true" to skip installation of custom repo config files
ood_use_exiting_repo_file: false
ood_use_existing_repo_file: false

# flip this flag if you want to install the ondemand-dex RPM
install_ondemand_dex: false
Expand Down
6 changes: 3 additions & 3 deletions tasks/install-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@
name: "{{ rpm_repo_url }}"
state: present
disable_gpg_check: "{{ disable_gpg_check_rpm_repo | bool }}"
when: ansible_os_family == "RedHat" and not ood_use_exiting_repo_file
when: ansible_os_family == "RedHat" and not ood_use_existing_repo_file

- name: Install the apt repo
ansible.builtin.apt:
deb: "{{ apt_repo_url }}"
state: present
update_cache: "{{ apt_update_cache | bool }}"
dpkg_options: 'force-confnew'
when: ansible_os_family == "Debian" and not ood_use_exiting_repo_file
when: ansible_os_family == "Debian" and not ood_use_existing_repo_file

- name: Enable epel
ansible.builtin.package:
name: 'epel-release'
state: present
when: ansible_os_family == "RedHat" and not ood_use_exiting_repo_file
when: ansible_os_family == "RedHat" and not ood_use_existing_repo_file

- name: Install rhel/centos:8 dependencies
ansible.builtin.dnf:
Expand Down

0 comments on commit 1d1cba2

Please sign in to comment.