ansible/roles/phone-provisioning/tasks/main.yml
Correl Roush ab8dda9dfb Import tasks rather than including them
Imports bring in tasks statically, allowing tags on the import to
propagate properly. There is no need for the dynamic behavior of
includes, they're just being used for organization.
2024-12-03 18:17:53 -05:00

14 lines
423 B
YAML

- name: Install Apache2
ansible.builtin.import_tasks:
file: install_apache2.yml
- name: Install TFTPd
ansible.builtin.import_tasks:
file: install_tftpd.yml
- name: Copy phone provisioning files
tags: phone-configuration
ansible.builtin.copy:
src: tftpboot/
dest: /var/lib/tftpboot/
- name: Configure and enable phone provisioning
ansible.builtin.import_tasks:
file: configure_provisioning.yml