Playbook test upgrades, made some notes about callbacks we need to add. Still need to compare events

recieved vs expected so we can be notified if this test breaks, and also to add some more detailed
playbooks that use includes & async, etc.
This commit is contained in:
Michael DeHaan
2012-03-18 18:50:25 -04:00
parent 45abe3c16b
commit b15c8e9cb1
2 changed files with 22 additions and 36 deletions

View File

@@ -2,7 +2,7 @@
---
- hosts: all
vars:
answer: "I think so, Brain, but if they called them sad meals, kids wouldn't buy them."
answer: "???"
port: 5150
tasks:
@@ -14,13 +14,13 @@
action: command /bin/true
- name: test basic shell
action: echo $HOME
action: shell echo $HOME
- name: test copy
action: copy src=sample.j2 dest=test_data/copy.out
action: copy src=sample.j2 dest=/tmp/ansible_test_data_copy.out
- name: test template
action: template src=sample.j2 dest=test_data/template.out
action: template src=sample.j2 dest=/tmp/ansible_test_data_template.out
handlers: