Bedrock-ansible + composer with private libs

I’d like my project to be a “one command” build. Composer install is part of the vagrant up script, however, I have a couple of private libs that will require a private key, or the oauth token to be in place.

What would be the best way to automate this? Right now, I’m just running the composer install first, and then vagrant up.

Any suggestions appreciated. Thanks!

Look at Bedrock-Ansible setup - its’ playbooks have a step to run composer, which is also executed from within vagrant up / provision.

It’s running composer no problem - the issue is getting an oAuth token in place or a key so it can authenticate.