This commit introduces two new tasks in the Ansible playbook. The first task imports a `utilities.yml` file, which likely contains reusable utility functions or configurations for API interactions. The second task installs necessary system packages required for the application to run smoothly.
23 lines
644 B
YAML
23 lines
644 B
YAML
---
|
|
# ansible_role_proxmox_provision/tasks/main.yml
|
|
# Main tasks for role
|
|
# ===================
|
|
|
|
- name: Install api utilities
|
|
ansible.builtin.import_tasks: utilities.yml
|
|
|
|
- name: Disable enterprise repo, enable no-subscription
|
|
ansible.builtin.import_tasks: repos.yml
|
|
|
|
- name: Remove the infamous subscription nag
|
|
ansible.builtin.import_tasks: subscription.yml
|
|
|
|
- name: Disable swap or tune it
|
|
ansible.builtin.import_tasks: swap.yml
|
|
|
|
- name: Stop logs from quietly murdering the disk
|
|
ansible.builtin.import_tasks: logrotate.yml
|
|
|
|
- name: Install powrttop, auto-tune, and make it persistent
|
|
ansible.builtin.import_tasks: powertop.yml
|