Update ansible code
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Adrien Reslinger 2022-08-16 14:29:07 +02:00
parent e33e55cd8c
commit d8e47cba66
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
8 changed files with 39 additions and 39 deletions

View file

@ -1,15 +1,15 @@
---
- block:
- name: Include vars for {{ ansible_os_family }}
include_vars: "{{ ansible_os_family }}.yml"
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml"
- name: Install Ansible
include_tasks: "install.yml"
ansible.builtin.include_tasks: "install.yml"
when:
- not ansible_uninstall|bool
- name: UnInstall Ansible
include_tasks: "uninstall.yml"
ansible.builtin.include_tasks: "uninstall.yml"
when:
- ansible_uninstall|bool