---
- name: Deploy EDPM Operating System Configure
hosts: "{{ edpm_override_hosts | default('all', true) }}"
strategy: linear
gather_facts: "{{ gather_facts | default(false) }}"
any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
tasks:
- name: Configure edpm_podman
ansible.builtin.import_role:
name: osp.edpm.edpm_podman
tasks_from: configure.yml
tags:
- edpm_podman
# Configures systemd services including `edpm-container-shutdown`
- name: Manage edpm container services
ansible.builtin.import_role:
name: osp.edpm.edpm_container_manage
tasks_from: shutdown.yml
tags:
- edpm_container_manage
- name: Prepare nftables
ansible.builtin.import_role:
name: osp.edpm.edpm_nftables
tasks_from: service-bootstrap.yml
tags:
- edpm_firewall
- name: Configure edpm_sshd
ansible.builtin.import_role:
name: osp.edpm.edpm_sshd
tasks_from: configure.yml
tags:
- edpm_sshd
# Restart time services on change
- name: Configure edpm_timezone
ansible.builtin.import_role:
name: osp.edpm.edpm_timezone
tasks_from: configure.yml
tags:
- edpm_timezone
- name: Configure edpm_logrotate_crond
ansible.builtin.import_role:
name: osp.edpm.edpm_logrotate_crond
tasks_from: configure.yml
tags:
- edpm_logrotate_crond
- name: Configure nftables
ansible.builtin.import_role:
name: osp.edpm.edpm_nftables
tasks_from: configure.yml
tags:
- edpm_firewall
- name: Configure default and extra mounts (for hugepages and nfs)
ansible.builtin.import_role:
name: osp.edpm.edpm_extra_mounts
tasks_from: extra_mounts.yml
tags:
- edpm_extra_mounts