Update ansible code
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e33e55cd8c
commit
d8e47cba66
8 changed files with 39 additions and 39 deletions
|
|
@ -1,19 +1,19 @@
|
|||
---
|
||||
#- name: Registering Ansible repository
|
||||
# get_url:
|
||||
# url: https://releases.ansible.com/ansible/rpm/ansible.repo
|
||||
# dest: /etc/yum.repos.d/ansible.repo
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: 0644
|
||||
# - name: Registering Ansible repository
|
||||
# ansible.builtin.get_url:
|
||||
# url: https://releases.ansible.com/ansible/rpm/ansible.repo
|
||||
# dest: /etc/yum.repos.d/ansible.repo
|
||||
# owner: root
|
||||
# ansible.builtin.group: root
|
||||
# mode: 0644
|
||||
|
||||
- name: Registering Ansible repository
|
||||
copy:
|
||||
ansible.builtin.copy:
|
||||
src: yum-ansible.repo
|
||||
dest: /etc/yum.repos.d/ansible.repo
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
ansible.builtin.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