AnsiblePlugin
AnsiblePlugin copied to clipboard
Syntax highlighting breaks after char |
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"