Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
525 B
7
Indexable
Never
---
# Changing this:
- hosts: all
  become: true
  roles:
    - docker
    - nginx
    - flymingo_cloud
    - front
    - back

---

# To this:
- hosts: all
  become: true
  roles:
    "{{ ANSIBLE_ROLES }}"

---
# Leads to this:

ERROR! A malformed role declaration was encountered.

The error appears to be in '/home/shad/moment/devops-exp/flymingo-cloud/playbook.yml': line 5, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- hosts: all
  ^ here