Unify LocalAnsible and Ansible implementations

This commit is contained in:
Dmitry Shulyak 2015-07-01 15:17:23 +03:00
parent be44b8abd4
commit b4ddfd2bb6
7 changed files with 22 additions and 5 deletions

View File

@ -0,0 +1,4 @@
- hosts: '*'
sudo: yes
roles:
- { role: "test_role" }

View File

@ -1,5 +1,5 @@
id: ansible_sample id: ansible_sample
handler: local_ansible handler: ansible_playbook
version: 0.0.1 version: 0.0.1
input: input:
var1: var1:

View File

@ -0,0 +1,4 @@
- hosts: '*'
sudo: yes
tasks:
- debug: "my message"

View File

@ -0,0 +1,13 @@
id: ansible_sample
handler: ansible_playbook
version: 0.0.1
input:
ip:
type: str!
value:
ssh_user:
type: str!
value:
ssh_key:
type: str!
value:

View File

@ -1,4 +0,0 @@
- hosts: localhost
sudo: yes
roles:
- { role: "test_role" }