Add quotes to ansible playbook
You created an ansible playbook, but forgot to add quotes. Can you fix it?
Start file
--- - hosts: all vars: ssh_state: True tasks: - name: Manage openssh package: name: openssh state: {{ ssh_state }}
End file
--- - hosts: all vars: ssh_state: True tasks: - name: Manage openssh package: name: openssh state: "{{ ssh_state }}"
View Diff
9c9 < state: {{ ssh_state }} --- > state: "{{ ssh_state }}"
Solutions by @ctmusicnz:
Unlock 4 remaining solutions by signing in and submitting your own entry