ContainerSolutions / dcos-ansible-packet

Ansible playbook for installing DC/OS on Packet cloud
4 stars 3 forks source link

Malformed 'destroy-dcos.yml' playbook #41

Closed zemanel closed 6 years ago

zemanel commented 6 years ago

'destroy-dcos.yml' playbook has syntax errors:

$ ansible-playbook destroy-dcos.yml --check

The error appears to have been in '[...]/destroy-dcos.yml': line 5, column 1, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Ensure DC/OS is uninstalled
^ here

exception type: <class 'yaml.parser.ParserError'>
exception: while parsing a block mapping
  in "<unicode string>", line 3, column 1:
    hosts: masters, agents
    ^
expected <block end>, but found '-'
  in "<unicode string>", line 5, column 1:
    - name: Ensure DC/OS is uninstalled
    ^