all good and very valuable pointsâ I have some research ongoing in some of them and Iâll share whatever I can learn as soon as possible :)
D.
Damian A. Tamburri, Ph.D.
Associate Professor
Room 2.18, 2nd Floor
Email: d.a.tamburri@tue.nl
Cell: +39 3491279924
Web: https://www.researchgate.net/profile/Damian_Tamburri
Executive Director, Jheronimus Academy Data & Engineering (JADE) Lab
Secretary, OASIS âTopology and Orchestration for Cloud Applicationsâ (TOSCA) Standard Technical Committee
Secretary, IFIP - WG 2.14 / 6.12 / 8.10 on Service-Oriented Systems
Associate Editor & Online Presence Director, ACM Transactions on Software Engineering & Methodology (TOSEM)
Thanks! Nothing significant yet, just various Ansible hello-world-like scenarios.
There are various challenges ahead:
- Generating "hosts" for Ansible. I think this might require a special Ansible profile with a "Host" capability. Otherwise it's hard to see how Ansible would know. Or maybe metadata that can be applied to any capability type or node type?
- Attributes. I think these will have to be set by an explicit Ansible role.
- Graph-iteration (this is a more general problem in Ansible, which has overly simple loops).
Ciao Tal!
This looks awesome! Are there specific scenarios in which you tested this?
D.
Damian A. Tamburri, Ph.D.
Associate Professor
Room 2.18, 2nd Floor
Email: d.a.tamburri@tue.nl
Cell: +39 3491279924
Web: https://www.researchgate.net/profile/Damian_Tamburri
Executive Director, Jheronimus Academy Data & Engineering (JADE) Lab
Secretary, OASIS âTopology and Orchestration for Cloud Applicationsâ (TOSCA) Standard Technical Committee
Secretary, IFIP - WG 2.14 / 6.12 / 8.10 on Service-Oriented Systems
Associate Editor & Online Presence Director, ACM Transactions on Software Engineering & Methodology (TOSEM)
Wouldn't it be nice if your Ansible playbooks could consume TOSCA?
Well, now they can. This is still a work-in-progress, but Puccini now includes an Ansible module for TOSCA (which in turn relies on the Python wrapper).
Here's an example of a simple playbook:
There's still much more on the TODO list for supporting various Ansible use cases, but even at this early stage there's a lot that's possible by simply iterating on resolved node templates and doing the usual Ansible stuff.
Feedback most welcome!
|