add quotes

addressing:
ERROR: Syntax Error while loading YAML script, /srv/web/infra/ansible/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml
Note: The error may actually appear before this position: line 11, column 19

   - /srv/web/infra/ansible/vars/fedora-cloud.yml
   - {{ private }}/files/openstack/passwords.yml
                  ^
We could be wrong, but this one looks like it might be an issue with
missing quotes.  Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"
This commit is contained in:
Miroslav Suchý 2014-09-12 09:51:41 +00:00
parent 87163e62d3
commit 8072ce429d

View file

@ -8,7 +8,7 @@
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- /srv/web/infra/ansible/vars/fedora-cloud.yml
- {{ private }}/files/openstack/passwords.yml
- "{{ private }}/files/openstack/passwords.yml"
tasks:
- name: Set the hostname