DurableDrupal / ansible-vm-platformsh

5 stars 1 forks source link

How to install on Windows 10 using vagrant? #1

Open webprogrammierer opened 7 years ago

webprogrammierer commented 7 years ago

I am new to platform.sh and found this tutorial: http://awebfactory.com/node/537

I tried to setup the environment following the steps in the tutorial. But on my windows 10 machine I get some error messages during setup process:

default: Running provisioner: ansible... Windows is not officially supported for the Ansible Control Machine. Please check https://docs.ansible.com/intro_installation.html#control-machine-requirements default: Running ansible-playbook... The Ansible software could not be found! Please verify that Ansible is correctly installed on your host system.

If you haven't installed Ansible yet, please install Ansible on your host system. Vagrant can't do this for you in a safe and automated way. Please check https://docs.ansible.com for more information.

Maybe there is no moderate way to install ansible on windows. Is this true? Or can you help me to solve this problem in order to get ansible-vm-platformsh run like the http://awebfactory.com/node/537 tutorial demonstrates?

If there is no solution to get this run on windows, can you please tell me a way how to get run with platform.sh on windows using vagrant and virtual box without ansible?

victorkane commented 7 years ago

Well, key to all this is the sentence in your error message above:

"Windows is not officially supported for the Ansible Control Machine."

In order to run without ansible, you would have to execute each part of the playbook by hand (get the same image running, then execute everything by hand).

webprogrammierer commented 7 years ago

I don't think this is an option. Is there any other way to get startet with platform.sh on windows using virtual machines, e.g. Drupal VM?

victorkane commented 7 years ago

I would say install VirtualBox and Vagrant. Then once you have your box up, login to its terminal shell and execute each of the items in the ansible playbook in sequence. An Ansible playbook is nothing more than a list of commands, after all.

webprogrammierer commented 7 years ago

Install all of these things manually?

No chance for somebody who uses Windows already forever.

victorkane commented 7 years ago

Create an Ubuntu VM on your Windows machine. Then perform the installations and configuration within the VM

On Nov 14, 2016 7:58 PM, "FR" notifications@github.com wrote:

Install all of these things https://github.com/DurableDrupal/ansible-vm-platformsh/blob/master/provisioning/playbook.yml manually?

No chance for somebody who uses Windows already forever.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DurableDrupal/ansible-vm-platformsh/issues/1#issuecomment-260491456, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGfZv4vNqaaKv9SB8R8Zxs95B6oQQ-oks5q-OeagaJpZM4KxftJ .