AnsiblePlugin icon indicating copy to clipboard operation
AnsiblePlugin copied to clipboard

Syntax highlighting breaks after char |

Open pappou99 opened this issue 3 years ago • 0 comments

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

pappou99 avatar Oct 28 '21 13:10 pappou99