Pastebin

Paste #8521: None

< previous paste - next paste>

Pasted by ansible@barbera

Download View as text

$ ansible-playbook -i hosts.ini -u root -b --private-key=~/.ssh/id_ed25519 --check nodes/venus/main.yml      [R0 J0 L:0.22 0.16 0.13 U:0+06:58 pts/2 283H]
ERROR! Syntax Error while loading YAML.
  did not find expected key

The error appears to be in '/home/ansible/wc/ansible/adora/nodes/venus/main.yml': line 63, column 36, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

      mode: '{{ item.mode }}'
    with_filetree: {{playbook_dir}}/templates/
                                   ^ here
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 }}"

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.