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,6 +1,6 @@
|
|||
---
|
||||
- name: Registering Ubuntu Ansible repository
|
||||
apt_repository:
|
||||
ansible.builtin.apt_repository:
|
||||
repo: ppa:ansible/ansible
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
|
@ -8,22 +8,21 @@
|
|||
- ansible_distribution == "Ubuntu"
|
||||
|
||||
- name: Registering Debian Ansible repository
|
||||
apt_repository:
|
||||
ansible.builtin.apt_repository:
|
||||
repo: deb http://ppa.launchpad.net/ansible/ansible/ubuntu {{ ansible_distribution_name }} main
|
||||
filename: ansible.list
|
||||
state: present
|
||||
update_cache: yes
|
||||
mode: 0644
|
||||
mode: "0644"
|
||||
# owner: root
|
||||
# group: root
|
||||
# ansible.builtin.group: root
|
||||
when:
|
||||
- ansible_distribution == "Debian"
|
||||
|
||||
- name: Install public repository Ansible GPG keys
|
||||
apt_key:
|
||||
ansible.builtin.apt_key:
|
||||
keyserver: keyserver.ubuntu.com
|
||||
id: 93C4A3FD7BB9C367
|
||||
state: present
|
||||
when:
|
||||
- ansible_distribution == "Debian"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue