IBM / ansible-lifecycle-driver

Lifecycle driver implementation that uses Ansible to execute operations
Apache License 2.0
4 stars 23 forks source link

dl_properties should include the name and infrastructure type #70

Open accammer opened 4 years ago

accammer commented 4 years ago

Describe the bug The deployment location properties need to include the name of the deployment location and it infrastructure type so that these can be accessed in any underlying ansible

Environment: (please complete the following information where applicable):

dvaccarosenna commented 4 years ago

If it helps, I believe the deploymentLocation is available on the systemProperties: https://github.com/accanto-systems/ansible-lifecycle-driver/blob/master/docs/property_handling.md#accessing-lm-properties-in-scripts

I think you're right about infrastructure type though, not sure that's provided to the scripts.