Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Setting configure_local_drush_aliases to false now behaves as expected. #663

Merged
merged 5 commits into from
Jun 4, 2016

Conversation

dixhuit
Copy link
Contributor

@dixhuit dixhuit commented May 25, 2016

@oxyc
Copy link
Collaborator

oxyc commented May 25, 2016

The configure_local_drush_aliases actually refers to local as your host machine only. I personally wan't neither the local or the remote alias whenever I toggle this off so maybe it's worth either adding

configure_remote_drush_aliases: "{{ configure_local_drush_aliases }}"

or just renaming it configure_drush_aliases.

I think we need @geerlingguy input on this though. Second option would be a breaking change.

@geerlingguy
Copy link
Owner

configure_remote_drush_aliases: "{{ configure_local_drush_aliases }}" seems odd too...

The reason I called it local was because I was referring originally to the idea that all the aliases were being generated in my local environment (vs. a dev server, a prod server, etc.).

So local == host and local Drupal VM.

So to keep things less confusing, it's probably best to just rename the entire var to configure_drush_aliases instead. It is a breaking change, but maybe we could add a shim for it for now?

@oxyc
Copy link
Collaborator

oxyc commented Jun 1, 2016

Sounds good. @danbohea you can use set_fact (used elsewhere in the playbook as well) to add a shim. Maybe with a comment stating it will eventually be removed.

@dixhuit
Copy link
Contributor Author

dixhuit commented Jun 1, 2016

Sure, will take a look when I get a spare minute.

@dixhuit
Copy link
Contributor Author

dixhuit commented Jun 4, 2016

PR updated. How's that?

@geerlingguy geerlingguy merged commit bb742e3 into geerlingguy:master Jun 4, 2016
@dixhuit dixhuit deleted the 662 branch June 6, 2016 09:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants