Unsolved
5 Posts
0
770
ECS create new S3 bucket with management API
hi guys , first time im using the community - im demoing the ansible playbooks for ecs - however not having much luck
when i run the playbook i get the following message
[root@sc-centos-1-2-1-build-1 ~]# ansible-playbook ecs.yml
ERROR! We were unable to read either as JSON nor YAML, these are the errors we got from each:
JSON: Expecting value: line 1 column 1 (char 0)
Syntax Error while loading YAML.
did not find expected '-' indicator
The error appears to be in '/root/ecs.yml': line 4, column 1, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: ECS create new S3 bucket with management API
hosts: "s3.uk.cloudstorage.vodafone.com"
^ here
[root@sc-centos-1-2-1-build-1 ~]#