ansible.fftdf.supernode/roles/01-vpn-router-config/tasks/main.yml

11 lines
295 B
YAML
Raw Normal View History

2023-03-12 20:40:59 +00:00
- 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