This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Invoke this twice: | |
# 1. Invoke with an inventory file containing nothing but 'localhost' | |
# 2. Invoke with digital_ocean.py inventory plugin as the inventory | |
# ansible-playbook -i localhost.inv equestria.yml && ansible-playbook -i digital_ocean.py equestria.yml | |
# Ansible 1.4 (github devel) required for unique_name option | |
- hosts: localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: myciscoswitch | |
connection: cisco | |
user: adminuser | |
tasks: | |
- name: raw template (not idempotent) | |
cisco: action=raw src=foo.j2 |