HPE Morpheus Enterprise Software
1856444 Members
2881 Online
104113 Solutions
New Discussion

Re: Ansible Post provision tasks

 
Ibrahim-GCC
Regular Advisor

Ansible Post provision tasks

Hi Team,

We are having 2 tasks both are configured in post provision. One task needs to execute on the same instance and other tasks need to execute on other host which we get it as the input. Could you please let me know which is the feasible way.

1 REPLY 1
Not applicable

Re: Ansible Post provision tasks

If that other host is an instance in Morpheus, you could make an API call to run the second task against the other instance. The functionality to run Ansible against multiple targets in Morpheus in limited currently. There are workarounds, but I think the easiest way would be an API call.