make the packages role more generic

This commit is contained in:
Matthew Stobbs
2025-01-18 09:24:11 -07:00
parent 3d466e64c7
commit 333ee4c3f5
112 changed files with 1610 additions and 3 deletions

14
tasks/Debian/ansible.yml Normal file
View 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