make the packages role more generic
This commit is contained in:
14
tasks/Debian/ansible.yml
Normal file
14
tasks/Debian/ansible.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: install ansible for Debian based distros
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name: ansible
|
||||
state: latest
|
||||
register: ansible_changed
|
||||
tags:
|
||||
- Debian
|
||||
- linux
|
||||
- package
|
||||
- name: stop playbook if ansible updated
|
||||
when: ansible_changed.changed
|
||||
meta: end_play
|
||||
Reference in New Issue
Block a user