Fix lint errors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2022-08-16 14:36:32 +02:00
parent d8e47cba66
commit 6c8c828300
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
4 changed files with 42 additions and 41 deletions

View file

@ -1,30 +1,30 @@
---
- name: Remove Ansible's files
ansible.builtin.file:
path: "/etc/yum.repos.d/ansible.repo"
state: absent
when:
- ansible_os_family == 'RedHat'
- name: Remove Ansible's files
ansible.builtin.file:
path: "/etc/yum.repos.d/ansible.repo"
state: absent
when:
- ansible_os_family == 'RedHat'
- name: Registering Ubuntu Ansible repository
ansible.builtin.apt_repository:
repo: ppa:ansible/ansible
state: absent
update_cache: true
when:
- ansible_distribution == "Ubuntu"
- name: Registering Ubuntu Ansible repository
ansible.builtin.apt_repository:
repo: ppa:ansible/ansible
state: absent
update_cache: true
when:
- ansible_distribution == "Ubuntu"
- name: Registering Debian Ansible repository
ansible.builtin.apt_repository:
repo: deb http://ppa.launchpad.net/ansible/ansible/ubuntu {{ ansible_distribution_name }} main
filename: ansible.list
state: absent
update_cache: true
when:
- ansible_distribution == "Debian"
- name: Registering Debian Ansible repository
ansible.builtin.apt_repository:
repo: deb http://ppa.launchpad.net/ansible/ansible/ubuntu {{ ansible_distribution_name }} main
filename: ansible.list
state: absent
update_cache: true
when:
- ansible_distribution == "Debian"
- name: Remove Ansible's packages
ansible.builtin.package:
name: '{{ ansible_packages }}'
state: absent
update_cache: true
- name: Remove Ansible's packages
ansible.builtin.package:
name: '{{ ansible_packages }}'
state: absent
update_cache: true