Added getfile ansible playbook
This commit is contained in:
parent
6848f8b407
commit
8f657f8862
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
|
||||
#variable "service" is required
|
||||
#variable "source" is required
|
||||
|
||||
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}:tag_Environment_{{ lookup('env','TF_VAR_TESTNET_NAME') | regex_replace('-','_') }}"
|
||||
roles:
|
||||
- getfile
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
|
||||
- name: Get file from node
|
||||
fetch: "dest={{ destination | default('.') }}/{{ source | basename }} flat=yes src='{{source}}'"
|
||||
run_once: yes
|
||||
|
Loading…
Reference in New Issue