cellinfo
/
ansible.apt
Archived
2
0
Fork 0
This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
ansible.apt/tasks/packages.yml

20 lines
393 B
YAML

---
# tasks file for packages
# Packages
- name: Ensure useful tools packages
apt:
name: '{{ item }}'
state: '{{ apt_tools_state }}'
with_items:
- '{{ apt_tools_list }}'
when: apt_tools_manage
- name: Ensure to purge useless packages
apt:
name: '{{ item }}'
state: '{{ apt_old_pkg_state }}'
with_items:
- '{{ apt_old_pkg_list }}'
when: apt_old_pkg_manage