Open mrqrille opened 10 years ago
First of all, as stated in the README, this playbook is developed for Centos, You will not be able to install it on an Ubuntu server without major changes. Your workstation can be anything that can run Ansible, but the server needs to be Centos 6.
Regarding your syntax error it is very hard to say anything without having access to the file. But since it's a syntax error you really need to make sure you have a correct YAML file. Refer to the documentation for Ansible and YAML if you are unsure.
Hey I try to run Digilys local on the server, and have done all the steps in the README-file. I have problem to run 'sh bootstrap.sh' but I installed it on another way. But when I run the following command: ansible-playbook -i production site.yml --connection=local
I get the following problem (see below), what have I done wrong? I get that is in the 'all' file, but what should I write? If I write 'application: DigilysTest' instead of empty the error comes application: "Note: The error may actually appear before this position: line 14, column 4
server by adding multiple definitions below.
instances: digilysServer ^ "
MY ERROR: christian@ubuntu:~/Hämtningar/digilys-playbook-master$ ansible-playbook -i production site.yml --connection=local
PLAY [all] ****
GATHERING FACTS *** fatal: [digilys] => Syntax Error while loading YAML script, /home/christian/Hämtningar/digilys-playbook-master/group_vars/all Note: The error may actually appear before this position: line 16, column 5
The name is used for the user account and the database
TASK: [common | Install PostgreSQL Yum repository RPM] **** FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP **** to retry, use: --limit @/home/christian/site.retry
digilys : ok=0 changed=0 unreachable=1 failed=0
Thanks in advance Chistian A