mirror of
https://github.com/cirruslabs/macos-image-templates.git
synced 2026-10-18 13:20:40 +02:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9f16e07e6 |
@@ -15,7 +15,7 @@
|
|||||||
# otherwise on the OS update the "softwareupdate" will be stuck at "Downloaded: macOS [...]"
|
# otherwise on the OS update the "softwareupdate" will be stuck at "Downloaded: macOS [...]"
|
||||||
- name: install available update
|
- name: install available update
|
||||||
command:
|
command:
|
||||||
cmd: "softwareupdate --install --agree-to-license --force --restart --user admin --stdinpass {{ stdinpass }} '{{ item.label }}'"
|
cmd: "softwareupdate --install --agree-to-license --force --restart --user admin --stdinpass {{ stdinpass | default("") }} '{{ item.label }}'"
|
||||||
stdin: "{{ ansible_password }}"
|
stdin: "{{ ansible_password }}"
|
||||||
register: update_result
|
register: update_result
|
||||||
# Work around the following:
|
# Work around the following:
|
||||||
|
|||||||
Reference in New Issue
Block a user