diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-04-18 16:27:20 -0400 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-04-18 20:28:22 +0000 |
commit | cc96f30a504aa32030eafefdba69d635869c7949 (patch) | |
tree | 64de5cdc5735190429e89bd598e41bd1973a163f /components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Scripts/ansible | |
parent | 01cbd5c7ea7b554f229ff3735d5352038f8b4419 (diff) |
Add support for Ansible packages
- rework how to provide packages
- support proxy as parameters
Change-Id: I1d10d921ead0837aa0f74b965cadf985424ceedc
Issue-ID: CCCSDK-1215
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Scripts/ansible')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Scripts/ansible/first.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Scripts/ansible/first.yaml b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Scripts/ansible/first.yaml new file mode 100644 index 000000000..78d292e10 --- /dev/null +++ b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Scripts/ansible/first.yaml @@ -0,0 +1,22 @@ +--- +- name: Get Device Facts + hosts: dc1 + roles: + - juniper.junos + connection: local + gather_facts: no + + tasks: + - name: Checking NETCONF connectivity + wait_for: + host: "{{ inventory_hostname }}" + port: 830 + timeout: 5 + + - name: Retrieving information from devices running Junos OS + juniper_junos_facts: + host: "{{ inventory_hostname }}" + + - name: Print version + debug: + var: junos.version
\ No newline at end of file |