Martin Krizek
24c360287e
yum: fix crashes installing from file/url
2017-10-10 11:39:47 -07:00
Brian Coca
9a8055a8e5
add note on how to avoid service start in apt
2017-10-10 09:24:09 -04:00
Lukas Bednar
5ccc1072ea
[rpm_key] Fix to import first key on the system ( #31514 )
...
* [rpm_key] Fix to import first key on the system
Fixes : #31483
* [rpm_key] removed unsafe_shell and "throwaway" underscore
* [rpm_key] adding test to add the first key on system
2017-10-10 13:31:20 +02:00
Pilou
1c9bffe248
pip module: fix TypeError ( #31395 )
...
* pip: add test: an error occurs when pip not found
* pip: fix TypeError exception when pip executable isn't found
2017-10-09 10:01:21 -07:00
Brian Coca
adcd185273
version is string and should be 2.9
2017-10-09 12:15:56 -04:00
Sebastien Boyron
6b34dc788a
[feat] module apt: add warning on deprecated states
2017-10-09 12:14:36 -04:00
Matthew Martin
63e59a9825
maven_artifact: Add classifier to default dest ( #24518 )
2017-10-09 07:56:33 -06:00
Martin Krizek
13631ececa
yum: check if env groups are installed ( #31182 )
2017-10-09 06:01:34 -04:00
Eduardo Suarez-Santana
4337b7a777
Fix rpm_key absent. ( #31045 )
...
When keyid is 8 charactes long, drop_key function cuts everything
issuing an error: "package gpg-pubkey- is not installed"
2017-10-05 14:45:14 +02:00
Martin Krizek
115b4fdc9b
yum: fix name parsing out of envra ( #31247 )
2017-10-04 20:48:00 +02:00
Stephen
9c6ad3d076
Add update_only parameter for yum module ( #22206 )
...
* Add update_only parameter for yum module
When using latest, `update_only: yes` will ensure that only existing
packages are updated and no additional packages are installed.
* Update yum.py
Update version added for `update_only` parameter to 2.5
* add unit tests for update_only flag in yum module
2017-10-04 10:25:13 +02:00
Dag Wieers
17fbeeb2f0
rhn_channel: PEP8 compliancy and doc fixes ( #30912 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-03 09:50:44 +02:00
Sebastien Boyron
af3e8950d6
[fix] issue #30516 : take care about autoremove in upgrade function
2017-10-02 16:19:55 -04:00
Dag Wieers
1241d0a3f4
pip: PEP8 compliancy and doc fixes
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-10-02 16:18:56 -04:00
Dag Wieers
4832b9a2d2
yum: doc fixes ( #30897 )
...
This PR includes:
- Documentation fixes
2017-09-28 12:57:21 +10:00
Dag Wieers
fd91da7297
pacman: PEP8 compliancy and doc fixes ( #30913 )
...
This PR includes:
- PEP8 compliancy fixes
- Documentation fixes
2017-09-27 03:13:18 -04:00
Martin Krizek
55739c1e46
redhat_subscription: replace deprecated autosubscribe ( #30927 )
2017-09-27 02:33:00 -04:00
Hervé Beraud
cddff32792
[fix] pylint errors on modules packaging language ( #30748 )
...
* cleaning pylint errors for module packaging/language/*
2017-09-22 10:11:11 -07:00
Martin Krizek
8b416abb49
Allow for creating yum repo based on metalink only ( #30736 )
2017-09-22 13:44:26 +02:00
Martin Krizek
cca4f94736
Mention all yum list options in docs ( #30706 )
2017-09-21 19:11:53 +02:00
Jiri Tyr
962528f511
Make clear the file must not contain .repo ( fixes #30644 ) ( #30656 )
2017-09-21 19:11:07 +02:00
Hervé Beraud
b8e21bca46
[fix] sanity check errors on pylint
2017-09-20 17:38:55 -07:00
Matt Clay
7714dcd04e
Enable more pylint rules and fix reported issues. ( #30539 )
...
* Enable pylint unreachable test.
* Enable pylint suppressed-message test.
* Enable pylint redundant-unittest-assert test.
* Enable pylint bad-open-mode test.
* Enable pylint signature-differs test.
* Enable pylint unnecessary-pass test.
* Enable pylint unnecessary-lambda test.
* Enable pylint raising-bad-type test.
* Enable pylint logging-not-lazy test.
* Enable pylint logging-format-interpolation test.
* Enable pylint useless-else-on-loop test.
2017-09-18 23:20:32 -07:00
Moshe Shitrit
7da69a23e6
Added nopackages option and Fix #24997 ( #28831 )
...
* Added nopackages option and Fix #24997
Adding a new option - nopackages.
This enables the option to add the --nopackages flag while registering a new node to RHN Satellite. We are not uploading the rpm data on our nodes and since we started utilizing ansible for nodes registration, I figures it would be useful for others as well.
Also-
Fixes #24997 (verified in my lab)
* Fixed documentation
* Documentation changes:
- typo fix in "default"
- Added "version_added" and set to 2.4
* Documentation changes:
- Removed trailing whitespaces in nopackages['version_added']
* This change is unrelated for this feature pull request and shouldn't be here (and also seems wrong, see #25079 ).
* Changed "version_added" to 2.5 in the module docs
2017-09-15 10:50:47 -04:00
Martin Krizek
59702318e1
yum: fallback to epoch=0 if not available
2017-09-12 13:30:35 -07:00
Nicklaus McClendon
6dbc3c63f8
Updated pip module to always return changed if venv is created ( #24233 )
...
* Updated pip module to always return changed if venv is created
Fixes #23204
* Add integration test to pip (see #23204 )
2017-09-12 10:01:29 -07:00
Martin Krizek
d52316fcc2
yum cleanup ( #28818 )
2017-09-12 06:59:15 -04:00
Abhijeet Kasurde
b5eca624d0
Refactor easy_install module
...
* PEP8 fix
* Rectified string check in package install command stdout
* Add abadger's code review changes
Fixes #22245
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-09-11 15:45:41 -07:00
Martin Krizek
de299ef77c
dnf: fix TypeError when env/group failed
2017-09-11 09:16:39 -07:00
Martin Krizek
f31696f77f
yum: do not use get_exception() ( #28826 )
...
Python 2.4 support was dropped in Ansible 2.4.
2017-08-31 13:47:16 -04:00
Dag Wieers
effa5085ca
Remove trailing whitespace
2017-08-31 12:34:59 +02:00
Dag Wieers
1c140cd90d
More changes.
2017-08-31 12:34:59 +02:00
Andreas Olsson
f2c0969d27
Clarify the apt_key module's absent state behavior
...
Currently the apt_key module only supports removing keys based on
explicitly stated key ids. The documentation should reflect that.
Related to #26005
2017-08-31 12:34:59 +02:00
ppanczyk
c9b74a3af3
Fixed 'only_upgrade' so that the status was not always 'changed' ( #25213 )
2017-08-30 14:46:52 -04:00
Laurent Ribot
b8da5ee5ef
Module maven_artifact : manage file dest attributes ( #24965 )
2017-08-30 10:00:06 -04:00
Martin Krizek
e4ea999e6d
yum: use envra instead of nevra ( #28284 )
2017-08-29 13:26:42 -04:00
René Moser
c97f4653be
fix typos in various modules and docsite ( #28747 )
2017-08-29 17:59:41 +02:00
Martin Krizek
98b19f0623
yum: fix changed in group remove
2017-08-29 11:48:29 -04:00
pari-
468e71bf71
npm: fix idempotence ( #22238 )
...
* npm: fix idempotence
* Better idempotency fix
More intelligently add --production rather than depending on hard coded order in args list
Cleanup boilderplate imports and license
PEP8 fixes
2017-08-28 17:26:01 -04:00
Dag Wieers
a1876bac9c
pkg5_publisher: Fix on failed, PEP8 compliancy ( #26019 )
2017-08-27 00:30:05 +02:00
Laurent Ribot
f92ae0831b
Fix : get proper snapshotVersion when no classifier ( #27102 ) ( #27103 )
2017-08-23 10:42:48 -04:00
René Moser
fbcf6e23af
yum: fix state=latest ( #28547 )
2017-08-23 10:22:16 +02:00
Martin Krizek
711ae03845
yum: fix reporting group changes in check_mode ( #28331 )
2017-08-22 16:35:23 -04:00
Martin Krizek
c59f3f841e
yum: remove duplicite code introduced in d1fa210be
( #28511 )
2017-08-22 22:03:50 +02:00
Dag Wieers
78dfbed2a5
openbsd_pkg: Fix when failed, PEP8-compliant ( #26018 )
...
This PR includes:
- PEP8 compliancy
- A fix to ensure the module fails when it failed for a package
- Various cosmetic changes to documentation
- Make `state: present` the default (and not required)
2017-08-17 18:20:02 -04:00
Sam Doran
9fe898add6
Make options match others in the file
2017-08-17 17:44:27 -04:00
Kurt Bomya
05fd51f77d
Added "choices" true/false for user_install
2017-08-17 17:44:27 -04:00
Benjamin
c9e5842c47
Fix maven_artifact documentation ( #28295 )
...
Display the string 'no' as default for the keep_name attribute.
2017-08-17 11:47:09 +10:00
Martin Krizek
bcb9644f39
yum: cover "Nothing to do" not only for groups ( #28283 )
2017-08-16 17:24:51 +02:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00