Merged
Conversation
- Updated .gitignore to exclude backup directory. - Added tasks to backup config items before removal in all.yml. - Introduced backup directory setup in main.yml.
- Added new settings in ansible.cfg for host key checking, fact caching, and pipelining. - Modified hosts.yml to streamline localhost configuration and remove unnecessary nesting. - Updated localhost.yml to disable fact gathering and set the strategy to free.
…ion task - Deleted the obsolete extensions file from the configuration. - Updated the installation task to read from the new extensions.txt file instead of the removed extensions file.
- Added tasks to process files for .config and .local/share directories. - Introduced handling for direct home files, including backup and removal tasks. - Updated existing tasks to improve clarity and functionality.
- Removed the lock file from the ansible directory. - Updated localhost.yml to set gather_facts to false. - Added file mode setting for copied files in all.yml to ensure proper permissions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several enhancements and fixes to the Ansible configuration and playbooks, focusing on improving efficiency, adding backup functionality, and refining configuration management. Key changes include updates to
ansible.cfgfor better performance, the addition of backup mechanisms, and improvements in handling configuration paths and files.Configuration and Performance Improvements:
ansible.cfgto enable pipelining, smart gathering, memory-based fact caching, and increased forks for better performance.ansible_connection: localand dynamic Python interpreter resolution inhosts.ymlfor better localhost handling.Backup and File Management:
set_factsrole.Refinements in Configuration Handling:
roles/config/tasks/all.ymlto handle.configand.local/sharepatterns more clearly and to better manage symlinks and unwanted paths.Miscellaneous Updates:
extensionstodata/extensions.txtfor better organization.localhost.ymlto disable fact gathering and use thefreestrategy for efficiency.