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,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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue