Hi, 
This is my first time with Ansible so forgive me if I missed something. I 
am trying to set up an Ansible script to run from my Ubuntu guest that 
allows me to provision Wordpress and all dependencies.

The host machine is a Windows 10 PC and I am running latest VBox with 
Ubuntu 14.04 as guest. I am also sharing a folder from host to guest and 
this is where I am creating the scripts.

I am following the instructions here 
<https://www.digitalocean.com/community/tutorials/how-to-automate-installing-wordpress-on-ubuntu-14-04-using-ansible>
 
on how to create the scripts. I have hit a problem at first testing the 
script. When I run (from the Ubuntu guest folder which contains the 
playbook.yml file, the shared folder with Win 10 host):

ansible-playbookplaybook.yml-i hosts

I get the error:

/media/sf_wpan/hosts--list([Errno8]Exec format error)

Researching this issue I have found a few places where the suggestion is to 
remove the executable attribute from the offending file.  So on the Ubuntu 
guest at the folder with playbook.yml I ran:

chmod -R -x *


But the error persists. My files are:

PLAYBOOK.YML

- hosts: wordpress

  roles:
    - server
    - php
    - mysql
    - wordpress


HOSTS

[wordpress]
10.0.0.76


 Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bac1c863-87f8-4f40-a681-9aa398d5b492%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to