Unify LocalAnsible and Ansible implementations
This commit is contained in:
parent
be44b8abd4
commit
b4ddfd2bb6
4
resources/ansible_local/actions/run.yaml
Normal file
4
resources/ansible_local/actions/run.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- hosts: '*'
|
||||
sudo: yes
|
||||
roles:
|
||||
- { role: "test_role" }
|
@ -1,5 +1,5 @@
|
||||
id: ansible_sample
|
||||
handler: local_ansible
|
||||
handler: ansible_playbook
|
||||
version: 0.0.1
|
||||
input:
|
||||
var1:
|
4
resources/ansible_remote/actions/run.yaml
Normal file
4
resources/ansible_remote/actions/run.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- hosts: '*'
|
||||
sudo: yes
|
||||
tasks:
|
||||
- debug: "my message"
|
13
resources/ansible_remote/meta.yaml
Normal file
13
resources/ansible_remote/meta.yaml
Normal 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:
|
@ -1,4 +0,0 @@
|
||||
- hosts: localhost
|
||||
sudo: yes
|
||||
roles:
|
||||
- { role: "test_role" }
|
Loading…
Reference in New Issue
Block a user