ab8dda9dfb
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.
14 lines
423 B
YAML
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
|