Giter VIP home page Giter VIP logo

Comments (3)

austinpray avatar austinpray commented on August 25, 2024

It fails with the message:

msg: cannot change to directory '/home/vagrant/'/srv/www/austinpray.com/current/'': path does not exist

so obviously the new version of ansible is interpreting:

  command: wp core install
           --allow-root
           --url='{{ item.item.env.wp_home }}'
           --title='{{ item.item.site_title | default(item.item.site_name) }}'
           --admin_user='{{ item.item.admin_user }}'
           --admin_password='{{ item.item.admin_password }}'
           --admin_email='{{ item.item.admin_email }}'
           chdir='{{ www_root }}/{{ item.item.site_name }}/current/'

in a weird way

from trellis.

austinpray avatar austinpray commented on August 25, 2024

Related? http://docs.ansible.com/playbooks_variables.html#hey-wait-a-yaml-gotcha

from trellis.

austinpray avatar austinpray commented on August 25, 2024

Alright I think I have a patch...

Testing on ansible 1.6.8:

git clone [email protected]:roots/bedrock-ansible.git
composer create-project roots/bedrock example.dev
cd bedrock-ansible/
vagrant up

this gives this error:

msg: cannot change to directory '/home/vagrant/'/srv/www/example.dev/current/'': path does not exist

Now let me apply my patch:
#22

Everything works just fine now. The way chdir was passed along before was hacky anyway.

from trellis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.