Ansible-Linux_Base/roles/base/tasks/debian.yml

41 lines
843 B
YAML

---
# file: roles/base/tasks/debian.yml
- name: Install Current Updates
apt:
upgrade: full
update_cache: yes
when: base_core_install_updates == true
- name: "*** Debian: Kernel Configuration ***"
include_tasks:
file: debian_kernel.yml
apply:
tags: kernel
tags:
- kernel
- name: "*** Debian: Time Sync Configuration ***"
include_tasks:
file: debian_time_sync.yml
apply:
tags: time_sync
tags:
- time_sync
- name: "*** Debian: Automatic Updates Configuration ***"
include_tasks:
file: debian_automatic_updates.yml
apply:
tags: automatic_updates
tags:
- automatic_updates
- name: "*** Debian: Firewall Configuration ***"
include_tasks:
file: debian_firewall.yml
apply:
tags: firewall
when: base_core_firewall_configure == true
tags:
- firewall