ansible.cfg
19 Ansible tutorials tagged “ansible.cfg”. Working examples covering automation, configuration management, and DevOps workflows.
Ansible cfg — Configuration File Guide
playbooks · 5
Annotated ansible.cfg example: where Ansible looks for its config file, precedence order, and key settings for SSH, inventory, privilege escalation and speed.
Ansible COLLECTIONS_PATH — Configure
playbooks · 3
Learn how to configure Ansible collections paths — set ANSIBLE_COLLECTIONS_PATHS environment variable or collections_paths in ansible.cfg. Fix 'collection.
Ansible.cfg Configuration — Guide
playbooks · 4
Configure ansible.cfg for your environment. Settings for SSH, inventory, roles_path, callback plugins, and performance tuning with examples.
Output Ansible Playbooks as YAML with Callback Plugin
playbooks · 3
Learn how to use Ansible ping module to test connections and customize output with callback plugins, demonstrated with a detailed playbook.
Using Ansible Tree Callback: Save Host Events to Files Easily
playbooks · 3
Discover how to use the Ansible Tree callback to save host events to JSON files. Enhance your logging and auditing with this powerful feature introduced.
Customizing Ansible: Ansible Module Creation
playbooks · 5
Learn how to create custom Ansible modules in Python, utilizing Ansible Module Utils for efficient development. Follow best practices and explore an.
Ansible.cfg & OpenSSH SCP Deprecation
playbooks · 6
Learn how to configure ansible.cfg SSH settings for OpenSSH 9.0+ where SCP is deprecated. Complete guide to ssh_connection options, SFTP migration.
Ansible Callback Plugins — Profiling
playbooks · 6
Use Ansible callback plugins to profile task execution time, identify slow tasks, and customize output. Configure timer, profile_tasks, and profile_roles.
Executing Custom Lookup Plugins in the Ansible Automation Platform
playbooks · 4
How to execute two custom Ansible Lookup Plugins to interact with API and read the contents of files in the local Ansible Controller.
Improve Playbook Debugging Using Ansible Lint
playbooks · 4
Explore how Ansible lint, a crucial command-line tool, improves Ansible automation by checking code quality, reducing errors, and enhancing playbook.
Creating a Custom Ansible Lookup Plugin in Python for Reading a File
playbooks · 7
Create a custom Ansible lookup plugin in Python to extend capabilities for reading file contents on the Ansible controller, enhancing file retrieval.
Creating a Custom Ansible Lookup Plugin in Python for retrieving API token
playbooks · 6
Learn how to create an Ansible lookup plugin to fetch API tokens, with a complete example of the token.py plugin code and step-by-step explanations.
Speed Up Ansible Playbooks — 10 Performance Tips
playbooks · 7
Make Ansible playbooks faster with pipelining, mitogen, async tasks, fact caching, free strategy, and SSH multiplexing. Benchmarks and examples.
Mastering Ansible Config: Essential Commands and Actions
playbooks · 5
Discover how to use ansible-config commands to manage Ansible configurations. List, dump, view, and initialize settings efficiently with step-by-step.
Maximize Ansible Efficiency with Callback Plugins for Resource Monitoring
playbooks · 4
Learn how to use Ansible callback plugins like cgroup_memory_Conclusion and cgroup_perf_recap to monitor resource consumption and optimize performance.
Understanding Ansible Builtin vs Legacy Collections: Key Differences
playbooks · 5
Explore the essential differences between Ansible's ansible.builtin and ansible.legacy collections. Understand how each affects your playbooks with.
Ansible Ignore SSH Host Key Checking
playbooks · 3
How to avoid the SSH Host Key checking at the beginning of every Ansible execution in our laboratory, CI/CD pipeline, or cloud computing provider.
Ansible: Fix 'Failed to Import botocore or boto3' for AWS
playbooks · 4
Learn how to troubleshoot and fix the "Failed to import the required Python library (botocore or boto3)" error in Ansible for AWS with a live Playbook.
Configure Ansible Dynamic Inventory for VMware in Simple Steps
playbooks · 2
Discover how to configure Ansible Dynamic Inventory for VMware to automate and manage virtual machines efficiently. Step-by-step guide with Playbook.