# Ansibleでエラーが出た時とその対処法メモ

# crypt.crypt not supported on Mac OS X/Darwin

fatal: [lab-ubuntu]: FAILED! => {"msg": "crypt.crypt not supported on Mac OS X/Darwin, install passlib python module. crypt.crypt not supported on Mac OS X/Darwin, install passlib python module"}


python3 -m pip install pathlib

# Missing sudo password

  • -K オプションをつけて、ログイン後の作業を設定する
ansible-playbook ./ansible/default.yml --inventory lab-ubuntu, -K

ref: https://stackoverflow.com/questions/25582740/missing-sudo-password-in-ansible

Last Updated: 7日前