debian-forge-composer/templates/packer/ansible/roles/common/tasks/main.yml
Sanne Raymaekers 22e15da73c templates/packer: use import_tasks instead of include_tasks
The tags don't get inherited through the dynamic `include_tasks`
command. Use `import_tasks` to preserve the tags.
2024-05-31 13:55:58 +02:00

21 lines
409 B
YAML

---
# Subscribe
- import_tasks: subscribe.yml
# Install various software packages.
- import_tasks: packages.yml
# Configure worker initialization service.
- import_tasks: worker-initialization-service.yml
# Configure the worker.
- import_tasks: worker-config.yml
# Unregister
- import_tasks: unregister.yml
- name: Ensure SELinux contexts are updated
tags:
- always
command: restorecon -Rv /etc