From 946adbfc95e4986cceca3882b0db972b90b513d1 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Wed, 12 Feb 2025 03:39:32 +0400 Subject: [PATCH] Use single instead of double quotes to avoid YAML syntax error (#210) --- ansible/roles/system-updater/tasks/softwareupdate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/system-updater/tasks/softwareupdate.yml b/ansible/roles/system-updater/tasks/softwareupdate.yml index e9fd3e2..c9564fb 100644 --- a/ansible/roles/system-updater/tasks/softwareupdate.yml +++ b/ansible/roles/system-updater/tasks/softwareupdate.yml @@ -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: