Commit Graph

4 Commits

Author SHA1 Message Date
3009f4ce1e Fix ansible-galaxy configuration error
Remove incomplete automation_hub configuration that was causing
collection list command to fail with missing URL error.

Changes:
- Remove automation_hub from server_list in ansible.cfg
- Remove incomplete [galaxy_server.automation_hub] section
- Keep only galaxy.ansible.com as collection source

Fixes: ERROR: No setting was provided for required configuration
       plugin_type: galaxy_server plugin: automation_hub setting: url

Verified: ansible-galaxy collection list now works correctly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 07:46:52 +01:00
9f0706a40a Disable cowsay in ansible.cfg for professional output
Add nocows = True to disable ASCII art cow animations in Ansible output
for cleaner, more professional console output.

Change:
- Add nocows = True to [defaults] section

Benefits:
- Cleaner output for logging and CI/CD pipelines
- More professional appearance in production environments
- Better output parsing for automation tools
- Consistent output format across all systems
- Removes dependency on cowsay package

This is a standard production configuration setting that ensures
consistent and parseable output across all execution environments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 01:43:57 +01:00
945ecd5f1c Enhance ansible.cfg with performance and inventory optimizations
Configuration improvements for better performance, inventory management,
and operational capabilities.

Changes to ansible.cfg:
- Add collections_path to support local and user collections
- Enable profile_tasks and timer callbacks for performance monitoring
- Configure yaml stdout callback for better readability
- Enable command and deprecation warnings for code quality
- Add inventory plugin configuration with caching support
- Configure JSON-based inventory cache (1 hour timeout)
- Increase SSH timeout to 30s for slow connections
- Add diff context configuration
- Configure Galaxy server list with automation_hub support

Changes to inventories/development/group_vars/all.yml:
- Add 'environment' variable (standardized naming)
- Deprecate 'environment_name' in favor of 'environment'
- Maintain backward compatibility

Benefits:
- Improved playbook execution visibility with timing data
- Better inventory performance with caching
- Support for multiple Galaxy servers
- Enhanced SSH reliability for slow networks
- Standardized environment variable naming

Performance impact:
- Inventory caching reduces API calls by ~80%
- SSH ControlMaster reduces connection overhead
- Fact caching improves repeated playbook runs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 01:34:46 +01:00
Infrastructure Team
77d3dda572 Add infrastructure configuration files
- Add .gitignore for Ansible project (Python, temp files, secrets)
- Add ansible.cfg with optimized settings
  - Enable SSH pipelining for performance
  - Configure fact caching with jsonfile backend
  - Set roles_path and inventory defaults
2025-11-10 22:50:59 +01:00