ansible/roles/aruba/tasks/main.yml

12 lines
240 B
YAML

---
- name: Generation configuration
set_fact:
aruba__config: "{{ lookup('template', './config.j2') }}"
- name: Write configuration
delegate_to: localhost
copy:
content: "{{ aruba__config }}"
dest: /tmp/aruba.config
...