-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Cask installs that require a password fail #3415
Comments
Found that the issue has been discussed on homebrew cask, puppet, chef projects already: Some suggestions are to use sudo, but that would make the entire app owned by root instead of the regular user. Not sure if the issue needs to be tackled by the Ansible cask module or the homebrew cask project. |
@indrajitr, ping. This issue is waiting on your response. |
You can currently circumvent this by doing it like this:
What this actually does is nothing else then |
@indrajitr, ping. This issue is still waiting on your response. |
This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible Please read through the repomerge page in the dev guide. The guide contains links to tools which automatically move your issue or pull request to the ansible/ansible repo. |
This issue was migrated to ansible/ansible#29403 |
ISSUE TYPE
COMPONENT NAME
homebrew_cask
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
macOS Sierra 10.12.1 (16B2555)
One mac (controller) controlling another mac (minion) using normal ssh connection with ssh key.
SUMMARY
Some homebrew casks ask for a password during the installation process. It appears the ansible module does not provide a way to collect a password and pass it to the homebrew cask installer.
Currently, these casks that require a password need to be manually installed using 'brew cask install at the command line. Ansible cannot install them.
Found two casks so far that failed to install with Ansible, but work fine when done manually: microsoft-office and wireshark
STEPS TO REPRODUCE
EXPECTED RESULTS
wireshark cask and microsoft-office casks are installed
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: