Skip to content

Commit

Permalink
Fix typo in var name
Browse files Browse the repository at this point in the history
  • Loading branch information
pescobar committed Mar 21, 2024
1 parent d6a9a1c commit 9e8804b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions defaults/main/install.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file holds install related configurations as well as base directories for
# configuration files.
# configuration files.

ood_base_conf_dir: "/etc/ood/config"
ood_app_dir: "{{ ood_base_apache_dir }}/apps"
Expand Down Expand Up @@ -32,7 +32,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 9e8804b

Please sign in to comment.