Commit graph

12 commits

Author SHA1 Message Date
Michael DeHaan
988f0c1646 Merge pull request #6323 from aresch/rpm_key_query_fix
Fix rpm_key on system with no gpg keys imported
2014-03-16 12:40:11 -05:00
Michael DeHaan
0281dbf2f2 Merge pull request #6203 from garetharmstronghp/fix_rpm_key_issue_5621
Fix issue #5621, rpm_key doesn't work for el5
2014-03-16 12:32:28 -05:00
James Cammarata
c68be8b418 Remove validate_certs parameter from fetch_url calls 2014-03-12 10:31:01 -05:00
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
2014-03-10 16:06:52 -05:00
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
2014-03-06 16:12:11 -08:00
Gareth Armstrong
eb6d4f9104 Fix issue 5621, rpm_key doesn't work for el5 2014-02-27 14:52:56 +01:00
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.
2014-01-15 09:52:17 -05:00
James Tanner
38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Akihiro YAMAZAKI
190588a595 fix typo in document 2013-11-21 16:09:43 +09:00
James Cammarata
5a86b82cec Fixing typos in is_keyid function definition and usage
Fixes #4068
2013-09-09 17:26:44 -05:00
Michael DeHaan
ea08f247f9 PEP8: fix spacing 2013-08-03 14:55:38 -04:00
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>
2013-07-31 15:55:38 -05:00