Skip to content

Commit

Permalink
YDA-5782: add json test file
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Jul 10, 2024
1 parent 17ef44f commit 29c2998
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions roles/yoda_test/files/creatures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"name": "Fiery",
"species" : "dragon",
"foods": {
"likes": ["coal", "shiny"],
"dislikes": ["water", "potatoes"]
}
},
{
"name": "Corny",
"species" : "unicorn",
"foods": {
"likes": ["sugar", "carrots"],
"dislikes": ["chicken"]
}
}
]
2 changes: 2 additions & 0 deletions roles/yoda_test/tasks/install-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
dest: '~/testdata/{{ item }}'
mode: 0644
with_items:
- 'creatures.json'
- 'image.txt'
- 'large-file.html'
- 'lorem.txt'
Expand All @@ -131,6 +132,7 @@
ansible.builtin.command:
iput -f ~/testdata/{{ item }} /{{ irods_zone }}/home/research-initial/testdata
with_items:
- 'creatures.json'
- 'image.txt'
- 'large-file.html'
- 'lorem.txt'
Expand Down

0 comments on commit 29c2998

Please sign in to comment.