Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silent install with parameters #79

Closed
datawithdev opened this issue May 26, 2019 · 4 comments
Closed

silent install with parameters #79

datawithdev opened this issue May 26, 2019 · 4 comments
Labels
planned This request will be implemented

Comments

@datawithdev
Copy link
Contributor

WordOps installer has at least three user prompts ( do you want to upgrade, git user.name, and user.email if .gitconfig is not configured)
Can parameters be passed to installer or values taken from environment variables so that WordOps can be easily installed with DevOp tools such as Ansible silently?

@juanpvh
Copy link

juanpvh commented May 26, 2019

you can pass this command before installing WordOps for background installation

bash -c 'echo -e "[user]\n\tname = $USER\n\temail = $USER@$HOSTNAME" > $HOME/.gitconfig'

can change $USER and $HOSTNAME

@datawithdev
Copy link
Contributor Author

datawithdev commented May 26, 2019

I can create a PR if environment variables such as WO_FORCE_UPDATE WO_GIT_USERNAME WO_GIT_USERMAIL sound acceptable? @VirtuBox

@VirtuBox
Copy link
Member

Hello @devbhosale,
that's a good idea. I haven't used Ansible with WordOps yet, but that's always useful to provide a non-interactive way to perform install/upgrade.

@VirtuBox VirtuBox added this to To do in WordOps v4.0 Jun 11, 2019
@VirtuBox VirtuBox added the planned This request will be implemented label Jun 15, 2019
@VirtuBox VirtuBox moved this from To do to In progress in WordOps v4.0 Jun 16, 2019
@VirtuBox VirtuBox moved this from In progress to Done in WordOps v4.0 Jun 16, 2019
@VirtuBox
Copy link
Member

Feature added in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
planned This request will be implemented
Projects
WordOps v4.0
  
Done
Status: Done
Development

No branches or pull requests

3 participants