Use single instead of double quotes to avoid YAML syntax error (#210)

This commit is contained in:
Nikolay Edigaryev
2025-02-12 03:39:32 +04:00
committed by GitHub
parent e134909aa8
commit 946adbfc95
@@ -15,7 +15,7 @@
# otherwise on the OS update the "softwareupdate" will be stuck at "Downloaded: macOS [...]"
- name: install available update
command:
cmd: "softwareupdate --install --agree-to-license --force --restart --user admin --stdinpass {{ stdinpass | default("") }} '{{ item.label }}'"
cmd: "softwareupdate --install --agree-to-license --force --restart --user admin --stdinpass {{ stdinpass | default('') }} '{{ item.label }}'"
stdin: "{{ ansible_password }}"
register: update_result
# Work around the following: