name: ansible description: IT automation tool for configuration management, application deployment, and task automation
Ansible Plugin
Automate IT infrastructure with Ansible.
Usage
ansible self version— Print ansible versionansible inventory list [-i <inventory>]— List hosts in inventoryansible playbook run <playbook> [-i <inventory>] [--check] [--diff]— Run a playbookansible galaxy install <name>— Install a Galaxy role/collectionansible galaxy search <query>— Search Galaxy for roles/collectionsansible vault encrypt <file>— Encrypt a file with Vaultansible vault decrypt <file>— Decrypt a file with Vaultansible _ _ <args>— Passthrough any ansible command
Examples
# Check all hosts are reachable
ansible all -m ping -i inventory.ini
# Run a playbook in check mode
ansible-playbook site.yml --check -i inventory.ini
# Install a role from Galaxy
ansible-galaxy install geerlingguy.nginx