There isn’t anything in google that has any examples to create this or any mention of Pulumi with Ansible.
Yes, this is possible.
You can do it one of 2 ways:
You can specify your ansible run inside the userdata of the DigitalOcean droplet. This works across all language SDKs.
Alternatively, if you want to have similar functionality to Terraform’s remote-exec provisioner, you can use Pulumi’s dynamic providers to create a provisioner.
Answered By – jaxxstorm
Answer Checked By – David Goodson (AngularFixing Volunteer)