File tree Expand file tree Collapse file tree 4 files changed +20
-36
lines changed
fstests/tasks/install-deps/redhat
pynfs/tasks/install-deps/redhat
sysbench/tasks/install-deps/redhat Expand file tree Collapse file tree 4 files changed +20
-36
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ - name : Enable the CodeReady repo
3+ become : yes
4+ ansible.builtin.command : /usr/bin/dnf config-manager --enable codeready-builder-for-rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}-rpms
5+ when :
6+ - ansible_distribution == 'RedHat'
7+ - not devconfig_custom_yum_repofile
8+
9+ - name : Enable the CodeReady repo
10+ become : yes
11+ ansible.builtin.command : /usr/bin/dnf config-manager --enable crb
12+ when :
13+ - ansible_distribution == 'CentOS'
14+ - not devconfig_custom_yum_repofile
Original file line number Diff line number Diff line change 11---
22- name : Enable the CodeReady repo
3- become : yes
4- command : /usr/bin/dnf config-manager --enable codeready-builder-for-rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}-rpms
5- when :
6- - ansible_distribution == 'RedHat'
7- - not devconfig_custom_yum_repofile
8-
9- - name : Enable the CodeReady repo
10- become : yes
11- command : /usr/bin/dnf config-manager --enable crb
12- when :
13- - ansible_distribution == 'CentOS'
14- - not devconfig_custom_yum_repofile
3+ ansible.builtin.include_role :
4+ name : codereadyrepo
155
166- name : Install epel-release if we're not on Fedora
177 become : yes
Original file line number Diff line number Diff line change 11---
22- name : Enable the CodeReady repo
3- become : yes
4- command : /usr/bin/dnf config-manager --enable codeready-builder-for-rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}-rpms
5- when :
6- - ansible_distribution == 'RedHat'
7- - not devconfig_custom_yum_repofile
8-
9- - name : Enable the CodeReady repo
10- become : yes
11- command : /usr/bin/dnf config-manager --enable crb
12- when :
13- - ansible_distribution == 'CentOS'
14- - not devconfig_custom_yum_repofile
3+ ansible.builtin.include_role :
4+ name : codereadyrepo
155
166- name : Install build dependencies for pynfs
177 become : yes
Original file line number Diff line number Diff line change 11---
22- name : Enable the CodeReady repo
3- become : yes
4- command : /usr/bin/dnf config-manager --enable codeready-builder-for-rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}-rpms
5- when :
6- - ansible_distribution == 'RedHat'
7- - not devconfig_custom_yum_repofile
8-
9- - name : Enable the CodeReady repo
10- become : yes
11- command : /usr/bin/dnf config-manager --enable crb
12- when :
13- - ansible_distribution == 'CentOS'
14- - not devconfig_custom_yum_repofile
3+ ansible.builtin.include_role :
4+ name : codereadyrepo
155
166- name : Install epel-release if we're not on Fedora
177 become : yes
You can’t perform that action at this time.
0 commit comments