You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
Toshio Kuratomi 66d47c8149 Only change to short IDs for delete (#5353)
* Only change to short IDs for delete

If the user specifies long IDs, use them for all commands except for
deleting a key.  Need to use short IDs there because of an upstream
apt_key bug.  Fixed in apt_key 1.10 (fix is present in Ubuntu 16.04 but
not Ubuntu 14.0 or some Debians).

Fixes #5237

* Check that apt-key really erased the key

When erasing a key, apt-key does not understand how to process subkeys.
This update explicitly checks that the key_id is no longer present and
throws an error if it is.  It also hints at subkeys being a possible
problem in the error message and the documentation.

Fixes #5119

* Fix apt_key check mode with long ids

apt-key can be given a key id longer than 16 chars to more accurately
define what key to download.  However, we can use a maximum of 16
chars to verify whether a key is installed or not.  So we need to use
different lengths for the id depending on what we're doing with it.

Fixes #2622

Also:

* Some style cleanups
* Use get_bin_path to find the path to apt-key and then use that when
  invoking apt-key
* Return a nice user error message if the key was not found on the
  keyserver
* Make file and keyring parameters type='path' so envars and tilde are
  expanded
9 years ago
.github Update GitHub templates to reflect ansible/ansible (#3900) 10 years ago
cloud GCE: Add support for 'number' parameter for manually provisioned Google Compute clusters (#4276) 9 years ago
commands We've changed run_command to return native_strings 9 years ago
database Do not leak the password in log (#5189) 9 years ago
files Remove line when 'state: absent' with 'option:' instead of commenting 9 years ago
inventory doc: add_host: add example without deprecated vars (#5323) 9 years ago
network Do not leak the vtp_password in log (#5199) 9 years ago
packaging Only change to short IDs for delete (#5353) 9 years ago
source_control Remove the yaml dep from the git module 9 years ago
system Make authorized_key preserve key order (#5339) 9 years ago
test Typo in cleanup (#5322) 9 years ago
utilities fixed doc typo 9 years ago
web_infrastructure cleanup import for htpassword module 9 years ago
windows Bulk spelling improvement to modules-core (#5225) 9 years ago
.gitignore Add basic top level files. 11 years ago
CONTRIBUTING.md Fix broken link for issue template (#3680) 10 years ago
COPYING Add basic top level files. 11 years ago
README.md Update CI badge. 9 years ago
VERSION Version bump for new beta 2.0.0-0.5.beta3 10 years ago
__init__.py package files 11 years ago
shippable.yml Set some hosts privileged so they can perform mount tests (#5087) 9 years ago
test-requirements.txt add some unit tests for the os_server module 10 years ago

README.md

Build Status

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.