Closed simonpeters closed 6 years ago
Seems like the problem was I used different site names for staging and development!
Hi, is your vagrant VM running when you run the command? This because all tasks check if the Bedrock site folder exists and the name is the same configured in the "local_path" parameter in wordpress_sites.yml. But, if the local vagrant VM is powered off, the command fails because can't check if the folder really exists.
Maybe you use a different "local_path" folders for every environment? This is a scenario that I've never tested.
Thank you for the feedback.
Hello,
I'm having troubles with the uploads playbook.
It fails when it checks to see if the folder exists, here is the command and output
command:
ansible-playbook uploads.yml -e env=staging -e site=new-staging.example.com -e mode=push -vvv
output
It seem that staging_host is set to 192.168.50.5 which is the vagrant IP and not the actual staging server.
My hosts files seem to be configured correctly so I'm not sure where to look next.