11 lines
295 B
YAML
11 lines
295 B
YAML
- name: create config directory
|
|
file:
|
|
path: '{{ playbook_dir }}/edgerouter_configs/'
|
|
state: directory
|
|
|
|
- name: Generate EdgeOS Config
|
|
ansible.builtin.template:
|
|
src: edgerouter.conf.j2
|
|
dest: '{{ playbook_dir }}/edgerouter_configs/{{ inventory_hostname }}.md'
|
|
mode: 0755
|
|
|