ansible/roles/common/tasks/main.yml

149 lines
2.4 KiB
YAML

# 2023-09-25
# Tasks: main
---
- ansible.builtin.include_vars: main.yml
# Packages
- ansible.builtin.include_tasks: packages.yml
when:
- enable_role_common
- task_enable_all
- task_enable_packages
tags:
- tasks
- system
- packages
# Users
- ansible.builtin.include_tasks: users.yml
when:
- enable_role_common
- task_enable_all
- task_enable_users
tags:
- tasks
- system
- locales
# Locales
- ansible.builtin.include_tasks: locales.yml
when:
- enable_role_common
- task_enable_all
- task_enable_locales
tags:
- tasks
- system
- locales
# Timezones
- ansible.builtin.include_tasks: timezone.yml
when:
- enable_role_common
- task_enable_all
- task_enable_timezone
tags:
- tasks
- system
- timezone
# NTP
- ansible.builtin.include_tasks: ntp.yml
when:
- enable_role_common
- task_enable_all
- task_enable_ntp
tags:
- tasks
- system
- ntp
# Aliases
- ansible.builtin.include_tasks: aliases.yml
when:
- enable_role_common
- task_enable_all
- task_enable_aliases
tags:
- tasks
- system
- aliases
# Mounts
- ansible.builtin.include_tasks: mounts.yml
when:
- enable_role_common
- task_enable_all
- task_enable_mounts
tags:
- tasks
- system
- mounts
# Directories
- ansible.builtin.include_tasks: directories.yml
when:
- enable_role_common
- task_enable_all
- task_enable_directories
tags:
- tasks
- system
- directories
# Samba
- ansible.builtin.include_tasks: samba.yml
when:
- enable_role_common
- task_enable_all
- task_enable_samba
tags:
- tasks
- system
- samba
# Tuned
- ansible.builtin.include_tasks: tuned.yml
when:
- enable_role_common
- task_enable_all
- task_enable_tuned
tags:
- tasks
- system
- tuned
# SystemD
- ansible.builtin.include_tasks: systemd.yml
when:
- enable_role_common
- task_enable_all
- task_enable_systemd
tags:
- tasks
- system
- systemd
# Daemons
- ansible.builtin.include_tasks: daemons.yml
when:
- enable_role_common
- task_enable_all
- task_enable_daemons
tags:
- tasks
- system
- daemons
# Services
- ansible.builtin.include_tasks: services.yml
when:
- enable_role_common
- task_enable_all
- task_enable_services
tags:
- tasks
- system
- services