Commit Graph

13 Commits (ce09a6dd472bf8bd17a9226ab52a690126b0c8f2)

Author SHA1 Message Date
Michael DeHaan a9b4fcf703 Add missing license headers to two modules and standardize formatting of another. 11 years ago
Michael DeHaan 988f0c1646 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 0281dbf2f2 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 c68be8b418 Remove validate_certs parameter from fetch_url calls 11 years ago
James Cammarata a1b1182662 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 6970dc39ee 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 eb6d4f9104 Fix issue 5621, rpm_key doesn't work for el5 11 years ago
Michael DeHaan cb6f7748d5 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 38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Akihiro YAMAZAKI 190588a595 fix typo in document 11 years ago
James Cammarata 5a86b82cec Fixing typos in is_keyid function definition and usage
Fixes #4068
11 years ago
Michael DeHaan ea08f247f9 PEP8: fix spacing 11 years ago
Hector Acosta 809278ba1b 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