Closed abitrolly closed 2 years ago
@abitrolly yes opera
works in a temporary folder when running executors (e.g., Ansible playbooks) and prints out the results back to storage folder (.opera
by default). This is okay because TOSCA allows defining and using all the necessary files that accompany the executors - you can do this within TOSCA interfaces and operations (see 3.6.16 Operation implementation definition) using dependencies
keyname.
Can you give an example? Given a .zip
file in a directory with service.yaml
. How to make that file available for a playbook?
Sure, I am listing some of the examples from xopera-examples repository:
@abitrolly just checking - have you managed to look at the examples above and were they of any use to you?
I believe this has been resolved and we can always reopen if there are still any questions.
I tried to deploy real app source with
opera
binary and standard Ansible playbook, and it looks like xOpera just doesn't support this.All examples are creating files from embedded content in YAML file. Ansible notebook can not see local files, because xOpera copies notebook into
/tmp
before executing, but doesn't copy referenced files.