View encrypted file ansible
View contents of vault-encrypted file without decrypting on disk
ansible-vault view vars/secrets.yml
more ansible
all 56 commands →
Install role from Galaxy
ansible-galaxy install -r requirements.yml -p roles/
Install collection
ansible-galaxy collection install community.kubernetes
List inventory hosts
ansible-inventory -i inventory --list | jq 'keys'
Run with extra vars
ansible-playbook playbook.yml -e 'env=prod version=2.0'
Verbose output
ansible-playbook playbook.yml -vvv