This change is in response to issue #1497 where the apt module would not properly updating the apt cache in some situations and never returned a state change on cache update when the module was used without or without an item to be installed or upgraded. The change simply allows the apt module to update the cache when update_cache option is used without or without a set cache_valid_time. If cache_valid_time is set and the on disk mtime for apt cache is ">" the provided amount of seconds, which now has a default of 0, the apt cache will be updated. Additionally if no upgrade, package, or deb is installed or changed but the apt cache is updated the module will return a changed state which will help users to know that the state of the environment has changed due to a task operation, even if it was only an apt cache update. fixes #1497 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com> |
9 years ago | |
|---|---|---|
| .github | 10 years ago | |
| cloud | 9 years ago | |
| commands | 9 years ago | |
| database | 9 years ago | |
| files | 9 years ago | |
| inventory | 11 years ago | |
| network | 9 years ago | |
| packaging | 9 years ago | |
| source_control | 9 years ago | |
| system | 9 years ago | |
| test | 9 years ago | |
| utilities | 9 years ago | |
| web_infrastructure | 9 years ago | |
| windows | 9 years ago | |
| .gitignore | 11 years ago | |
| CONTRIBUTING.md | 10 years ago | |
| COPYING | 11 years ago | |
| README.md | 9 years ago | |
| VERSION | 10 years ago | |
| __init__.py | 11 years ago | |
| shippable.yml | 9 years ago | |
| test-requirements.txt | 10 years ago | |
README.md
ansible-modules-core
This repo contains Ansible's most popular modules that are shipped with Ansible.
New module submissions for modules that do not yet exist should be submitted to ansible-modules-extras, rather than this repo.
Take care to submit tickets to the appropriate repo where modules are contained. The docs.ansible.com website indicates this at the bottom of each module documentation page.
Reporting bugs
Take care to submit tickets to the appropriate repo where modules are contained. The repo is mentioned at the bottom of module documentation page at docs.ansible.com.
Testing modules
Ansible module development guide contains the latest info about that.
License
As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.
Installation
There should be no need to install this repo separately as it should be included in any Ansible install using the official documented methods.