-
Notifications
You must be signed in to change notification settings - Fork 0
実機macでの検証 #10
Copy link
Copy link
Open
Description
nonaka.koki@Mac ~ % curl -sf https://raw.githubusercontent.com/kukv/mac-setup/main/init.sh | zsh
==> Checking Xcode Command Line Tools...
==> Checking Homebrew...
==> Checking Ansible...
Installing Ansible...
==> Fetching downloads for: ansible
✔︎ Bottle Manifest ansible (13.4.0_1) Downloaded 37.3KB/ 37.3KB
✔︎ Bottle Manifest ca-certificates (2026-03-19) Downloaded 2.0KB/ 2.0KB
✔︎ Bottle Manifest certifi (2026.2.25) Downloaded 2.2KB/ 2.2KB
✔︎ Bottle Manifest pycparser (3.0) Downloaded 2.0KB/ 2.0KB
✔︎ Bottle Manifest cffi (2.0.0_1) Downloaded 10.5KB/ 10.5KB
✔︎ Bottle ca-certificates (2026-03-19) Downloaded 132.4KB/132.4KB
✔︎ Bottle certifi (2026.2.25) Downloaded 5.7KB/ 5.7KB
✔︎ Bottle Manifest openssl@3 (3.6.1) Downloaded 11.8KB/ 11.8KB
✔︎ Bottle Manifest cryptography (46.0.5) Downloaded 11.0KB/ 11.0KB
✔︎ Bottle Manifest libsodium (1.0.21) Downloaded 7.3KB/ 7.3KB
✔︎ Bottle Manifest libssh (0.12.0_1) Downloaded 9.5KB/ 9.5KB
✔︎ Bottle Manifest mpdecimal (4.0.1) Downloaded 11.9KB/ 11.9KB
✔︎ Bottle pycparser (3.0) Downloaded 103.8KB/103.8KB
✔︎ Bottle Manifest libyaml (0.2.5) Downloaded 14.5KB/ 14.5KB
✔︎ Bottle Manifest readline (8.3.3) Downloaded 10.0KB/ 10.0KB
✔︎ Bottle libyaml (0.2.5) Downloaded 107.7KB/107.7KB
✔︎ Bottle mpdecimal (4.0.1) Downloaded 186.2KB/186.2KB
✔︎ Bottle cffi (2.0.0_1) Downloaded 522.8KB/522.8KB
✔︎ Bottle Manifest sqlite (3.51.3) Downloaded 11.4KB/ 11.4KB
✔︎ Bottle Manifest xz (5.8.2) Downloaded 11.8KB/ 11.8KB
✔︎ Bottle Manifest zstd (1.5.7_1) Downloaded 13.2KB/ 13.2KB
✔︎ Bottle libsodium (1.0.21) Downloaded 365.9KB/365.9KB
✔︎ Bottle Manifest lz4 (1.10.0) Downloaded 13.8KB/ 13.8KB
✔︎ Bottle Manifest tree (2.3.2) Downloaded 7.5KB/ 7.5KB
✔︎ Bottle libssh (0.12.0_1) Downloaded 611.8KB/611.8KB
✔︎ Bottle lz4 (1.10.0) Downloaded 279.7KB/279.7KB
✔︎ Bottle Manifest python@3.14 (3.14.3_1) Downloaded 29.5KB/ 29.5KB
✔︎ Bottle xz (5.8.2) Downloaded 764.3KB/764.3KB
✔︎ Bottle readline (8.3.3) Downloaded 757.9KB/757.9KB
✔︎ Bottle sqlite (3.51.3) Downloaded 2.4MB/ 2.4MB
✔︎ Bottle zstd (1.5.7_1) Downloaded 793.6KB/793.6KB
✔︎ Bottle tree (2.3.2) Downloaded 66.3KB/ 66.3KB
✔︎ Bottle cryptography (46.0.5) Downloaded 3.2MB/ 3.2MB
✔︎ Bottle openssl@3 (3.6.1) Downloaded 10.9MB/ 10.9MB
✔︎ Bottle python@3.14 (3.14.3_1) Downloaded 19.1MB/ 19.1MB
✔︎ Bottle ansible (13.4.0_1) Downloaded 65.5MB/ 65.5MB
==> Installing dependencies for ansible: ca-certificates, certifi, pycparser, cffi, openssl@3, cryptography, libsodium, libssh, libyaml, mpdecimal, readline, sqlite, xz, lz4, zstd, python@3.14 and tree
==> Installing ansible dependency: ca-certificates
==> Pouring ca-certificates--2026-03-19.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺 /opt/homebrew/Cellar/ca-certificates/2026-03-19: 4 files, 237.5KB
==> Installing ansible dependency: certifi
==> Pouring certifi--2026.2.25.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/certifi/2026.2.25: 38 files, 20.5KB
==> Installing ansible dependency: pycparser
==> Pouring pycparser--3.0.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/pycparser/3.0: 53 files, 466.1KB
==> Installing ansible dependency: cffi
==> Pouring cffi--2.0.0_1.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/cffi/2.0.0_1: 99 files, 1.8MB
==> Installing ansible dependency: openssl@3
==> Pouring openssl@3--3.6.1.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/openssl@3/3.6.1: 7,624 files, 37.6MB
==> Installing ansible dependency: cryptography
==> Pouring cryptography--46.0.5.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/cryptography/46.0.5: 224 files, 9.9MB
==> Installing ansible dependency: libsodium
==> Pouring libsodium--1.0.21.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libsodium/1.0.21: 84 files, 1MB
==> Installing ansible dependency: libssh
==> Pouring libssh--0.12.0_1.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libssh/0.12.0_1: 25 files, 1.7MB
==> Installing ansible dependency: libyaml
==> Pouring libyaml--0.2.5.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libyaml/0.2.5: 11 files, 360.6KB
==> Installing ansible dependency: mpdecimal
==> Pouring mpdecimal--4.0.1.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/mpdecimal/4.0.1: 22 files, 660.9KB
==> Installing ansible dependency: readline
==> Pouring readline--8.3.3.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/readline/8.3.3: 56 files, 2.7MB
==> Installing ansible dependency: sqlite
==> Pouring sqlite--3.51.3.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/sqlite/3.51.3: 13 files, 5.2MB
==> Installing ansible dependency: xz
==> Pouring xz--5.8.2.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xz/5.8.2: 96 files, 2.7MB
==> Installing ansible dependency: lz4
==> Pouring lz4--1.10.0.arm64_tahoe.bottle.1.tar.gz
🍺 /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 768.9KB
==> Installing ansible dependency: zstd
==> Pouring zstd--1.5.7_1.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/zstd/1.5.7_1: 32 files, 2.3MB
==> Installing ansible dependency: python@3.14
==> Pouring python@3.14--3.14.3_1.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/python@3.14/3.14.3_1: 3,764 files, 75.3MB
==> Installing ansible dependency: tree
==> Pouring tree--2.3.2.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/tree/2.3.2: 9 files, 196.6KB
==> Installing ansible
==> Pouring ansible--13.4.0_1.arm64_tahoe.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ansible/13.4.0_1: 35,880 files, 445.3MB
==> Running `brew cleanup ansible`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Found extra vars: /Users/nonaka.koki/.local/etc/extra_vars.yaml
==> Running ansible-pull (branch: main)...
Starting Ansible Pull at 2026-03-27 20:30:18
/opt/homebrew/bin/ansible-pull --url https://github.com/kukv/mac-setup.git --checkout main --inventory ansible/inventories/hosts.yaml --extra-vars @/Users/nonaka.koki/.local/etc/extra_vars.yaml ansible/playbook.yaml
[WARNING]: Could not match supplied host pattern, ignoring: Mac.lan
[WARNING]: Could not match supplied host pattern, ignoring: Mac
[WARNING]: Could not match supplied host pattern, ignoring: mac
[WARNING]: Could not match supplied host pattern, ignoring: mac.lan
localhost | CHANGED => {
"after": "ee60312de31d0a487344e6895d8f5a095892d19e",
"before": null,
"changed": true
}
[WARNING]: Could not match supplied host pattern, ignoring: Mac.lan
[WARNING]: Could not match supplied host pattern, ignoring: Mac
[WARNING]: Could not match supplied host pattern, ignoring: mac
[WARNING]: Could not match supplied host pattern, ignoring: mac.lan
PLAY [Setup macOS] *************************************************************
TASK [Gathering Facts] *********************************************************
[WARNING]:ok: [local Host 'lochost]
alhost' is using the discovered Python interpreter at '/opt/homebrew/bin/python3.14', but future installation of another Python interpreter could cause a different interpreter to be discovered. See https://docs.ansible.com/ansible-core/2.20/reference_appendices/interpreter_discovery.html for more information.
TASK [Validate required variables] *********************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Install Ansible Galaxy collections] **************************************
changed: [localhost]
TASK [Update Homebrew] *********************************************************
ok: [localhost]
TASK [Upgrade all Homebrew formulae] *******************************************
ok: [localhost]
TASK [Upgrade all Homebrew casks] **********************************************
ok: [localhost]
TASK [homebrew : Install Homebrew formulae] ************************************
changed: [localhost] => (item=git)
changed: [localhost] => (item=mise)
ok: [localhost] => (item=tree)
changed: [localhost] => (item=nkf)
changed: [localhost] => (item=ffmpeg)
changed: [localhost] => (item=plantuml)
changed: [localhost] => (item=nmap)
FAILED - RETRYING: [localhost]: Install Homebrew formulae (3 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew formulae (2 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew formulae (1 retries left).
[ERROR]: Task failed: Module failed: Error: No available formula or cask with the name "cirruslabs/cli/tart".
Please tap it and then try again: brew tap cirruslabs/cli
Origin: /Users/nonaka.koki/.ansible/pull/mac.lan/ansible/roles/homebrew/tasks/main.yaml:2:3
1 ---
2 - name: Install Homebrew formulae
^ column 3
failed: [localhost] (item=cirruslabs/cli/tart) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": "cirruslabs/cli/tart", "msg": "Error: No available formula or cask with the name \"cirruslabs/cli/tart\".\nPlease tap it and then try again: brew tap cirruslabs/cli"}
PLAY RECAP *********************************************************************
localhost : ok=6 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
nonaka.koki@Mac ~ % brew install cirruslabs/cli/tart
==> Auto-updating Homebrew...
Adjust how often this is run with `$HOMEBREW_AUTO_UPDATE_SECS` or disable with
`$HOMEBREW_NO_AUTO_UPDATE=1`. Hide these hints with `$HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Tapping cirruslabs/cli
Cloning into '/opt/homebrew/Library/Taps/cirruslabs/homebrew-cli'...
remote: Enumerating objects: 2222, done.
remote: Counting objects: 100% (591/591), done.
remote: Compressing objects: 100% (156/156), done.
remote: Total 2222 (delta 534), reused 435 (delta 435), pack-reused 1631 (from 5)
Receiving objects: 100% (2222/2222), 353.62 KiB | 7.86 MiB/s, done.
Resolving deltas: 100% (1413/1413), done.
Tapped 1 cask and 12 formulae (27 files, 458.4KB).
==> Fetching downloads for: tart
✔︎ Formula softnet (0.18.0) Verified 4.4MB/ 4.4MB
✔︎ Formula tart (2.32.0) Verified 22.1MB/ 22.1MB
==> Installing tart from cirruslabs/cli
==> Installing cirruslabs/cli/tart dependency: cirruslabs/cli/softnet
🍺 /opt/homebrew/Cellar/softnet/0.18.0: 6 files, 13.2MB, built in 2 seconds
==> Caveats
Tart has been installed. You might want to reduce the default DHCP lease time
from 86,400 to 600 seconds to avoid DHCP shortage when running lots of VMs daily:
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.InternetSharing.default.plist bootpd -dict DHCPLeaseTimeSecs -int 600
See https://tart.run/faq/#changing-the-default-dhcp-lease-time for more details.
==> Summary
🍺 /opt/homebrew/Cellar/tart/2.32.0: 14 files, 75.6MB, built in 1 second
==> Running `brew cleanup tart`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Caveats
zsh completions have been installed to:
/opt/homebrew/share/zsh/site-functions
==> tart
Tart has been installed. You might want to reduce the default DHCP lease time
from 86,400 to 600 seconds to avoid DHCP shortage when running lots of VMs daily:
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.InternetSharing.default.plist bootpd -dict DHCPLeaseTimeSecs -int 600
See https://tart.run/faq/#changing-the-default-dhcp-lease-time for more details.
nonaka.koki@Mac ~ % curl -sf https://raw.githubusercontent.com/kukv/mac-setup/main/init.sh | zsh
==> Checking Xcode Command Line Tools...
==> Checking Homebrew...
==> Checking Ansible...
==> Found extra vars: /Users/nonaka.koki/.local/etc/extra_vars.yaml
==> Running ansible-pull (branch: main)...
Starting Ansible Pull at 2026-03-27 20:37:46
/opt/homebrew/bin/ansible-pull --url https://github.com/kukv/mac-setup.git --checkout main --inventory ansible/inventories/hosts.yaml --extra-vars @/Users/nonaka.koki/.local/etc/extra_vars.yaml ansible/playbook.yaml
[WARNING]: Could not match supplied host pattern, ignoring: mac.lan
[WARNING]: Could not match supplied host pattern, ignoring: mac
[WARNING]: Could not match supplied host pattern, ignoring: Mac
[WARNING]: Could not match supplied host pattern, ignoring: Mac.lan
localhost | SUCCESS => {
"after": "ee60312de31d0a487344e6895d8f5a095892d19e",
"before": "ee60312de31d0a487344e6895d8f5a095892d19e",
"changed": false,
"remote_url_changed": false
}
[WARNING]: Could not match supplied host pattern, ignoring: mac.lan
[WARNING]: Could not match supplied host pattern, ignoring: mac
[WARNING]: Could not match supplied host pattern, ignoring: Mac
[WARNING]: Could not match supplied host pattern, ignoring: Mac.lan
PLAY [Setup macOS] *************************************************************
TASK [Gathering Facts] *********************************************************
[WARNING]:ok: [local Host 'lochost]
alhost' is using the discovered Python interpreter at '/opt/homebrew/bin/python3.14', but future installation of another Python interpreter could cause a different interpreter to be discovered. See https://docs.ansible.com/ansible-core/2.20/reference_appendices/interpreter_discovery.html for more information.
TASK [Validate required variables] *********************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [Install Ansible Galaxy collections] **************************************
ok: [localhost]
TASK [Update Homebrew] *********************************************************
ok: [localhost]
TASK [Upgrade all Homebrew formulae] *******************************************
ok: [localhost]
TASK [Upgrade all Homebrew casks] **********************************************
ok: [localhost]
TASK [homebrew : Install Homebrew formulae] ************************************
ok: [localhost] => (item=git)
ok: [localhost] => (item=mise)
ok: [localhost] => (item=tree)
ok: [localhost] => (item=nkf)
ok: [localhost] => (item=ffmpeg)
ok: [localhost] => (item=plantuml)
ok: [localhost] => (item=nmap)
ok: [localhost] => (item=cirruslabs/cli/tart)
TASK [homebrew : Install Homebrew casks] ***************************************
changed: [localhost] => (item=font-hack-nerd-font)
changed: [localhost] => (item=google-chrome)
changed: [localhost] => (item=visual-studio-code)
changed: [localhost] => (item=raycast)
changed: [localhost] => (item=1password)
changed: [localhost] => (item=1password-cli)
FAILED - RETRYING: [localhost]: Install Homebrew casks (3 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (2 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (1 retries left).
[ERROR]: Task failed: Module failed: ✔︎ API Source docker-desktop.rb
✔︎ Cask docker-desktop (4.66.1,222799)
Error: Failure while executing; `/usr/bin/sudo -E -- mkdir -p -- /usr/local/cli-plugins` exited with 1. Here's the output:
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Origin: /Users/nonaka.koki/.ansible/pull/mac.lan/ansible/roles/homebrew/tasks/main.yaml:12:3
10 until: result is succeeded
11
12 - name: Install Homebrew casks
^ column 3
failed: [localhost] (item=docker) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": "docker", "msg": "✔︎ API Source docker-desktop.rb\n✔︎ Cask docker-desktop (4.66.1,222799)\nError: Failure while executing; `/usr/bin/sudo -E -- mkdir -p -- /usr/local/cli-plugins` exited with 1. Here's the output:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required"}
changed: [localhost] => (item=jetbrains-toolbox)
changed: [localhost] => (item=slack)
changed: [localhost] => (item=notion)
changed: [localhost] => (item=discord)
FAILED - RETRYING: [localhost]: Install Homebrew casks (3 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (2 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (1 retries left).
[ERROR]: Task failed: Module failed: ✔︎ API Source zoom.rb
✔︎ Cask zoom (7.0.0.77593)
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Error: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=nonaka.koki USER=nonaka.koki USERNAME=nonaka.koki -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/zoom/7.0.0.77593/zoomusInstallerFull.pkg -target /` exited with 1. Here's the output:
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Origin: /Users/nonaka.koki/.ansible/pull/mac.lan/ansible/roles/homebrew/tasks/main.yaml:12:3
10 until: result is succeeded
11
12 - name: Install Homebrew casks
^ column 3
failed: [localhost] (item=zoom) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": "zoom", "msg": "✔︎ API Source zoom.rb\n✔︎ Cask zoom (7.0.0.77593)\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required\nError: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=nonaka.koki USER=nonaka.koki USERNAME=nonaka.koki -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/zoom/7.0.0.77593/zoomusInstallerFull.pkg -target /` exited with 1. Here's the output:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required"}
changed: [localhost] => (item=iterm2)
changed: [localhost] => (item=spotify)
changed: [localhost] => (item=clipy)
changed: [localhost] => (item=daisydisk)
changed: [localhost] => (item=thebrowsercompany-dia)
FAILED - RETRYING: [localhost]: Install Homebrew casks (3 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (2 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (1 retries left).
[ERROR]: Task failed: Module failed: ✔︎ Cask google-drive (123.0.1)
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Error: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=nonaka.koki USER=nonaka.koki USERNAME=nonaka.koki -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/google-drive/123.0.1/GoogleDrive.pkg -target /` exited with 1. Here's the output:
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Origin: /Users/nonaka.koki/.ansible/pull/mac.lan/ansible/roles/homebrew/tasks/main.yaml:12:3
10 until: result is succeeded
11
12 - name: Install Homebrew casks
^ column 3
failed: [localhost] (item=google-drive) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": "google-drive", "msg": "✔︎ Cask google-drive (123.0.1)\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required\nError: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=nonaka.koki USER=nonaka.koki USERNAME=nonaka.koki -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/google-drive/123.0.1/GoogleDrive.pkg -target /` exited with 1. Here's the output:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required"}
FAILED - RETRYING: [localhost]: Install Homebrew casks (3 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (2 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (1 retries left).
[ERROR]: Task failed: Module failed: ✔︎ Cask microsoft-office (16.107.26032211)
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Error: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=nonaka.koki USER=nonaka.koki USERNAME=nonaka.koki -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/microsoft-office/16.107.26032211/Microsoft_365_and_Office_16.107.26032211_Installer.pkg -target / -applyChoiceChangesXML /private/tmp/choices20260327-60500-qoxjwr.xml` exited with 1. Here's the output:
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Origin: /Users/nonaka.koki/.ansible/pull/mac.lan/ansible/roles/homebrew/tasks/main.yaml:12:3
10 until: result is succeeded
11
12 - name: Install Homebrew casks
^ column 3
failed: [localhost] (item=microsoft-office) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": "microsoft-office", "msg": "✔︎ Cask microsoft-office (16.107.26032211)\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required\nError: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=nonaka.koki USER=nonaka.koki USERNAME=nonaka.koki -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/microsoft-office/16.107.26032211/Microsoft_365_and_Office_16.107.26032211_Installer.pkg -target / -applyChoiceChangesXML /private/tmp/choices20260327-60500-qoxjwr.xml` exited with 1. Here's the output:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required"}
changed: [localhost] => (item=onyx)
FAILED - RETRYING: [localhost]: Install Homebrew casks (3 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (2 retries left).
FAILED - RETRYING: [localhost]: Install Homebrew casks (1 retries left).
[ERROR]: Task failed: Module failed: ✔︎ API Source parallels.rb
✔︎ Cask parallels (26.3.0-57392)
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Error: Failure while executing; `/usr/bin/sudo -E -- /Applications/Parallels\ Desktop.app/Contents/MacOS/inittool init` exited with 1. Here's the output:
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: a password is required
Origin: /Users/nonaka.koki/.ansible/pull/mac.lan/ansible/roles/homebrew/tasks/main.yaml:12:3
10 until: result is succeeded
11
12 - name: Install Homebrew casks
^ column 3
failed: [localhost] (item=parallels) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": "parallels", "msg": "✔︎ API Source parallels.rb\n✔︎ Cask parallels (26.3.0-57392)\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required\nError: Failure while executing; `/usr/bin/sudo -E -- /Applications/Parallels\\ Desktop.app/Contents/MacOS/inittool init` exited with 1. Here's the output:\nsudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper\nsudo: a password is required"}
changed: [localhost] => (item=raspberry-pi-imager)
changed: [localhost] => (item=vnc-viewer)
PLAY RECAP *********************************************************************
localhost : ok=7 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
nonaka.koki@Mac ~ %
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels