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

42 lines
855 B
YAML

---
# file: roles/base/tasks/redhat.yml
- name: Install Current Updates
yum:
name: '*'
state: latest
when: base_core_install_updates == true
- name: "*** RedHat: EPEL Install ***"
include_tasks:
file: redhat_epel.yml
apply:
tags: epel
when: base_redhat_epel == true
tags:
- epel
- name: "*** RedHat: Time Sync Configuration ***"
include_tasks:
file: redhat_time_sync.yml
apply:
tags: time_sync
tags:
- time_sync
- name: "*** RedHat: Automatic Updates Configuration ***"
include_tasks:
file: redhat_automatic_updates.yml
apply:
tags: automatic_updates
tags:
- automatic_updates
- name: "*** RedHat: Firewall Configuration ***"
include_tasks:
file: redhat_firewall.yml
apply:
tags: firewall
when: base_core_firewall_configure == true
tags:
- firewall