Instruction
ansible instllation
- install through homebrew
brew install ansible sshpass rsync
- install through PIP
brew install python3 sshpass rsync
pip3 install ansible
ansible hot commands
- ansible ecrypt
ansible-vault encrypt ./test.txt
- ansible decrypt
ansible-vault decrypt ./test.txt
- ansible run playbook
ansible-playbook -vvv playbook.yaml -i hosts.yaml --tags sometag
- ansible install galaxy collection from git repo more
ansible-galaxy collection install git+git@github.com:kostakoff/macos.softwareupdate.git,main --upgrade