We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace4232 commit 57d1d3cCopy full SHA for 57d1d3c
ansible/bootstrap.yml
@@ -4,15 +4,13 @@
4
become: yes
5
tasks:
6
- name: Ensure releasever is pinned to 9.4 for RL9
7
+ lineinfile:
8
+ path: /etc/dnf/dnf.conf
9
+ regexp: '^releasever='
10
+ line: 'releasever=9.4'
11
+ insertafter: '^\[main\]'
12
+ create: yes
13
when: ansible_distribution_major_version == "9"
- copy:
- content: |
- [main]
- releasever=9.4
- dest: /etc/dnf/dnf.conf
- owner: root
14
- group: root
15
- mode: '0644'
16
17
- hosts: cluster
18
gather_facts: false
0 commit comments