Fixing epel

This commit is contained in:
Tyler Hale 2023-01-17 09:52:55 -07:00
parent 17d06adb73
commit 751ce2a173
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96
2 changed files with 15 additions and 7 deletions

View file

@ -3,15 +3,23 @@
prod:
hosts:
prod-svr01:
ansible_host: 192.168.0.10
base_core_hostname: "prod-svr01"
prod-svr02:
ansible_host: 192.168.0.11
ws01:
ansible_host: 10.10.10.14
base_core_hostname: "hltk-ws1"
ws02:
ansible_host: 10.10.10.18
base_core_hostname: "hltk-ws2"
ws03:
ansible_host: 10.10.10.20
base_core_hostname: "hltk-ws3"
ws04:
ansible_host: 10.10.10.19
base_core_hostname: "hltk-ws4"
vars:
ansible_user: haletek
ansible_ssh_common_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' # Disable host key checking for re-imaging
ansible_ssh_common_args: '-o ProxyCommand="ssh dc1-bastion -W %h:%p 2>/dev/null" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' # Disable host key checking for re-imaging w/ jump box
#ansible_ssh_common_args: '-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' # Disable host key checking for re-imaging
base_core_ssh_permit_password_authentication: true # Enable
base_core_root_ca_url: "http://cert.haletek.cloud/PKI/RootCA.cer" # Define the Root CA to be installed
base_core_root_ca_basename: "HLTKCL_RootCA" # Define the name of the Root CA to be installed

View file

@ -6,4 +6,4 @@
name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
state: present
disable_gpg_check: True
when: ansible_distribution == 'RedHat' or ansible_distribution == 'AlmaLinux'
when: ansible_distribution == 'RedHat' or ansible_distribution == 'AlmaLinux' or ansible_distribution == 'Rocky'