MSDehghan / AnsiblePlugin

IntelliJ plugin that helps developing Ansible files
134 stars 16 forks source link

Syntax highlighting breaks after char | #16

Open pappou99 opened 3 years ago

pappou99 commented 3 years ago

a task written like follwing will cause to break the syntax highlighting after the "pipe" symbol right next to "shell: "

- name: Set vnc passwords tightvnc
  shell: |
    set -o pipefail
    echo {{ item.vnc_default_password }} | vncpasswd -f > /home/{{ item.username }}/.vnc/passwd
  args:
    chdir: "/home/{{ item.username }}/.vnc"
    creates: "/home/{{ item.username }}/.vnc/passwd"
    executable: /bin/bash
  with_items: "{{ vnc_users }}"
  when: vnc_server == "tightvnc"

Bildschirmfoto von 2021-10-28 14-36-03