Update for CentOS 8
This commit is contained in:
parent
dcad60614c
commit
4ce39bb4e9
1 changed files with 9 additions and 1 deletions
|
|
@ -8,4 +8,12 @@
|
||||||
# mode: 0644
|
# mode: 0644
|
||||||
|
|
||||||
- name: Registering Ansible repository
|
- name: Registering Ansible repository
|
||||||
copy: src=yum-ansible.repo dest=/etc/yum.repos.d/ansible.repo owner=root group=root mode=0644
|
copy:
|
||||||
|
src: yum-ansible.repo
|
||||||
|
dest: /etc/yum.repos.d/ansible.repo
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
when:
|
||||||
|
- "ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat'"
|
||||||
|
- "ansible_distribution_major_version < '8'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue