Add deprecation notices
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
- name: Deprecation notification
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: |
|
||||||
|
The role uumas.general.apt_repository is deprecated and will be removed soon!
|
||||||
|
Switch to ansible.builtin.deb822_repository.
|
||||||
|
changed_when: true
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
- name: Deprecation notification
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: |
|
||||||
|
The role uumas.general.packages is deprecated and will be removed soon!
|
||||||
|
Just use ansible.builtin.apt or .dnf directly, this does nothing special.
|
||||||
|
changed_when: true
|
||||||
|
|
||||||
- name: Include tasks for apt as package manager
|
- name: Include tasks for apt as package manager
|
||||||
ansible.builtin.include_tasks: apt.yaml
|
ansible.builtin.include_tasks: apt.yaml
|
||||||
when: ansible_pkg_mgr == 'apt'
|
when: ansible_pkg_mgr == 'apt'
|
||||||
|
|||||||
Reference in New Issue
Block a user