This commit is contained in:
2026-02-17 11:06:16 +01:00
parent 861d05472b
commit 9887f6c8f6
2 changed files with 12 additions and 0 deletions

View File

@@ -19,6 +19,16 @@
- name: Set proxy group name
set_fact:
clustename: "alma10"
- name: Configure global DNF proxy
ansible.builtin.lineinfile:
path: /etc/dnf/dnf.conf
regexp: '^proxy='
line: 'proxy=http://{{ dnf_proxy_host }}:{{ dnf_proxy_port }}'
insertafter: '^\[main\]'
state: present
backup: yes
when: ansible_os_family == "RedHat"
- name: Show default IP
ansible.builtin.debug: