Commit Graph

13 Commits (360ffc4dfd05af4b6c2dbccd58134d78e380a1af)

Author SHA1 Message Date
Michael DeHaan 31f7a0693e Add missing license headers to two modules and standardize formatting of another. 11 years ago
Michael DeHaan 8d3e2fe79a Merge pull request #6323 from aresch/rpm_key_query_fix
Fix rpm_key on system with no gpg keys imported
11 years ago
Michael DeHaan 0939a83174 Merge pull request #6203 from garetharmstronghp/fix_rpm_key_issue_5621
Fix issue #5621, rpm_key doesn't work for el5
11 years ago
James Cammarata d8a81c488e Remove validate_certs parameter from fetch_url calls 11 years ago
James Cammarata 9730157525 Validate SSL certs accessed through urllib*
* Adds another module utility file which generalizes the
  access of urls via the urllib* libraries.
* Adds a new spec generator for common arguments.
* Makes the user-agent string configurable.

Fixes #6211
11 years ago
aresch a45bfbe06e Fix rpm_key on system with no gpg keys imported
Without the -a option, rpm command will fail (exit code 1) and execute_command() will fail causing an initial key import to not work.

[root@test ~]# rpm -q gpg-pubkey
package gpg-pubkey is not installed
[root@test ~]# echo $?
1
[root@test ~]# rpm -qa gpg-pubkey
[root@test ~]# echo $?
0
11 years ago
Gareth Armstrong 02477eef69 Fix issue 5621, rpm_key doesn't work for el5 11 years ago
Michael DeHaan 6f49642286 All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ).
Fixing for standardization purposes.
11 years ago
James Tanner 6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Akihiro YAMAZAKI 97b6e13e46 fix typo in document 11 years ago
James Cammarata 808d9596b2 Fixing typos in is_keyid function definition and usage
Fixes #4068
11 years ago
Michael DeHaan de14995b8c PEP8: fix spacing 11 years ago
Hector Acosta c62210ce37 Add rpm_key module
This module can be used to import public keys into your rpm database.

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
11 years ago