Maintaining local environment with Ansible
September 8, 2023 ยท View on GitHub
Will be as an alternative for the maintenance bash scripts found in the shell-scripts repo: https://github.com/mdrocan/shell-scripts
Script execution
- Execute with:
ansible-playbook update_brew.yml
Possible issues
-
In some cases you may see the following error in the output:
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Warning: These files were overwritten during thebrew linkstep:\nError: Thebrew linkstep did not complete successfully"} -
This means that you should check with
brew doctorwhich kegs are not properly linked and link them.
Requirements
- Homebrew must already be installed on the target system
Next steps
- Create same functionality for local testing and with Github Actions
Quality aspect
- Linter verified software