Skip to content

Instantly share code, notes, and snippets.

@titom73
Created November 3, 2016 14:07
Show Gist options
  • Save titom73/43aa85c57e0b3dec22826c75da3f7bd5 to your computer and use it in GitHub Desktop.
Save titom73/43aa85c57e0b3dec22826c75da3f7bd5 to your computer and use it in GitHub Desktop.
Issue #19 ZTP
---
### Create configuration files locally
### Must be executed only if local structure has been created with playbook: playbook-ztp-init.yml
- name: Populate local ZTP configurations
hosts: all
connection: local
gather_facts: no
vars_files:
- "group_vars/ansible-server/ztp-init.yaml"
- "group_vars/ztp-servers/ztp.yaml"
roles:
- {role: ztp-create-config}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment