This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Added getfile ansible playbook
pull/1943/head
Greg Szabo
7 years ago
parent
6848f8b407
commit
8f657f8862
2 changed files
with
15 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
ansible/getfile.yml
+6
-0
ansible/roles/getfile/tasks/main.yml
+ 9
- 0
ansible/getfile.yml
View File
@ -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
+ 6
- 0
ansible/roles/getfile/tasks/main.yml
View File
@ -0,0 +1,6 @@
---
-
name
:
Get file from node
fetch
:
"dest={{ destination | default('.') }}/{{ source | basename }} flat=yes src='{{source}}'"
run_once
:
yes
Write
Preview
Loading…
Cancel
Save