Skip to content

Instantly share code, notes, and snippets.

@Kahn
Created September 16, 2013 02:56
Show Gist options
  • Save Kahn/6576282 to your computer and use it in GitHub Desktop.
Save Kahn/6576282 to your computer and use it in GitHub Desktop.
/etc/ansible/host_vars/192.168.0.1
---
site: testsite
realm: testrealm
/etc/ansible/roles/rancid/tasks/main.yml
...
- name: Update rancid monitored device config
template: src=${site}-${realm}-{{ item + ".db.j2"}} dest=/var/rancid/${site}-${realm}-{{ item }}/router.db
with_items:
- core
tags:
- config
- rancidserver
- config-rancid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment