Daniel Jaouen
33cbbe0b39
Homebrew Cask: Multiple updates ( #35759 )
2018-02-08 11:00:06 -05:00
Sam Doran
6264a55cdc
Add aliases for parameters to rhsm_repository module ( #35800 )
...
Allow 'enabled' and 'disabled' as synonymns to 'present' and 'absent'.
Minor updates to module docs.
2018-02-08 14:13:47 +01:00
Martin Krizek
e2c0865800
redhat_subscription: do not use defaults from the conf file ( #33763 )
...
* redhat_subscription: do not read defaults from the rhsm.conf file, let subman provide those.
* Only pass options specified by user to the config
2018-02-07 10:18:58 -05:00
Toshio Kuratomi
a5b80464df
Fix packaging/os modules for wildcard imports and get_exception
2018-02-06 08:44:49 -08:00
Abhijeet Kasurde
6bd0fbb63c
Remove deprecated get_exception API
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-02-05 23:39:56 -05:00
Giovanni Sciortino
b4736a8741
Add rhsm_repository module ( #28292 )
...
Add rhsm_repository module
2018-01-22 12:42:29 -05:00
tdtrask
676ce74cbf
apk: Fix package dependency bugs ( #34419 )
...
Fixes : #34325 , #35062
2018-01-18 17:20:14 -05:00
John R Barker
195beebcb4
Module DOCUMENTATION should match argspec ( #34895 )
...
* Module DOCUMENTATION should match argspec
Large update of many modules so that DOCUMENTATION option name and
aliases match those defined in the argspec.
Issues identified by https://github.com/ansible/ansible/pull/34809
In addition to many typos and missing aliases, the following notable
changes were made:
* Create `module_docs_fragments/url.py` for `url_argument_spec`
* `dellos*_command` shouldn't have ever had `waitfor` (was incorrectly copied)
* `ce_aaa_server_host.py` `s/raduis_server_type/radius_server_type/g`
* `Junos_lldp` enable should be part of `state`.
2018-01-16 12:18:51 +00:00
Matt Martz
dcc05093db
Validate modules arg spec fixes ( #34477 )
...
* Update validate-modules arg_spec introspection to be faster, by only mocking the imports we explicitly list
* The use of types.MethodType in redhat_subscription wasn't py3 compatible, use partial instead
* Remove argument_spec import hacks, make them errors, we can ignore them with ansible-test
* Enable the --arg-spec flag for validate-modules
2018-01-11 15:41:53 -08:00
Abhijeet Kasurde
f84f386ea7
yum: Add example for enable and disable repo ( #34492 )
...
Fixes : #29897
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-10 09:51:00 -08:00
Matt Clay
232dc7110c
Fix Python 3.7 syntax error in yum_repository.
2018-01-09 17:54:10 -08:00
Abhijeet Kasurde
b14c8b130f
yum: handle exception in local_envra ( #34400 )
...
This fix adds rpm.error exception which is raised when
API unable to get envra information from RPM package.
Also, adds integration test for local_envra method.
Fixes : #30074
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-09 12:28:55 +01:00
Abhijeet Kasurde
daae4d922a
Add missing msg keyword for fail_json ( #34387 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-03 04:44:53 -05:00
Martin Krizek
3681d0e3e0
yum: support installroot in is_group_env_installed ( #34182 )
2018-01-02 12:42:53 +01:00
Abhijeet Kasurde
d1b63bd5ef
yum: Add option for enable and disable plugin ( #34306 )
...
This fix adds parameter to enable and disable plugins for yum
command.
Fixes : #30016
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-02 12:37:02 +01:00
Robin Roth
fcd3db27f9
Add comment on auto_import_key for .repo files in zypper_repository ( #33941 )
...
Fixes #32375
2017-12-22 01:05:47 -05:00
Abhijeet Kasurde
bc91258124
apt_get: add warning for force_apt_get ( #33994 )
...
This fix adds strict check for package manager binary checking in given
path.
Fixes : #32940
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-19 22:39:15 -06:00
Toshio Kuratomi
120af786af
Remove params option from examples
2017-12-19 12:04:14 -08:00
Adam Miller
6cb388a98a
New Module: package_facts ( #33195 )
...
* new package_facts module
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
* remove package_facts pkg manager aliases, they are misleading
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
* fix package_facts tests now that aliases are dropped
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-12-14 13:47:47 -05:00
Martin Krizek
7170751703
redhat_subscription: remove python2.4 compat ( #33762 )
...
* Replace get_exception with native error handling.
2017-12-12 07:19:08 +05:30
John Barker
c57a7f05e1
Bulk autopep8 (modules)
...
As agreed in 2017-12-07 Core meeting bulk fix pep8 issues
Generated using:
autopep8 1.3.3 (pycodestyle: 2.3.1)
autopep8 -r --max-line-length 160 --in-place --ignore E305,E402,E722,E741 lib/ansible/modules
Manually fix issues that autopep8 has introduced
2017-12-07 20:25:55 +00:00
Dag Wieers
af59817850
pkg5: PEP8 compliancy and documentation changes ( #33559 )
...
This PR includes:
- PEP8 compliancy changes
- Documentation changes
2017-12-05 07:56:16 -05:00
Dag Wieers
aec8e7784a
urpmi: PEP8 compliancy and documentation changes ( #33560 )
...
This PR includes:
- PEP8 compliancy changes
- Documentation changes
2017-12-05 03:32:58 -05:00
Dag Wieers
ff50b7893c
rpm_key: PEP8 compliancy and documentation changes ( #33426 )
...
This PR includes:
- PEP8 compliancy changes
- Documentation changes
2017-12-04 13:30:27 +01:00
Dag Wieers
fbfeeff6bf
apt_repository: PEP8 compliancy and documentation changes ( #33429 )
...
* apt_repository: PEP8 compliancy and documentation changes
This PR includes:
- PEP8 compliancy changes
- Documentation changes
* Fix merge issue
2017-12-04 13:29:23 +01:00
Dag Wieers
c4ef5bb922
apt_key: PEP8 compliancy and documentation changes ( #33427 )
...
This PR includes:
- PEP8 compliancy changes
- Documentation changes
2017-12-04 13:27:32 +01:00
Dag Wieers
2416a8806d
apt: PEP8 compliancy and documentation changes ( #33425 )
...
This PR includes:
- PEP compliancy changes
- Documentation changes
2017-12-03 17:14:49 +01:00
Dag Wieers
5b5d767c0b
apt_rpm: PEP8 compliancy and documentation changes ( #33431 )
...
This PR includes:
- PEP8 compliancy changes
- Documentation changes
2017-12-01 08:19:35 -05:00
Andy Nguyen
89b65e81d1
fix typo in failure message (packaging/apt) ( #33444 )
2017-12-01 07:42:59 +01:00
Dag Wieers
e0c94aa6a7
yum: PEP8 compliancy and documentation changes ( #33424 )
...
This PR includes:
- PEP8 compliancy changes
- documentation changes
2017-11-30 13:32:05 -05:00
Matt Clay
9735a70059
Fix invalid string escape sequences.
2017-11-21 20:59:08 -08:00
Brian Coca
8e56133b3d
updated docs to reflect list/loop lack of sqashing ( #32522 )
...
* updated docs to reflect list/loop lack of sqashing
* fix dnf
* line len
2017-11-20 10:16:19 -05:00
Martin Krizek
4c58ad1266
pacman: fix closing parenthesis ( #32783 )
2017-11-10 09:52:40 -05:00
Jiri Tyr
1a3037ff63
Making options of type list (fixing #32704 ) ( #32706 )
2017-11-09 10:57:27 -05:00
Martin Krizek
356901b72d
yum: case for multilib when installing from a file ( #32236 )
2017-11-09 06:04:53 -05:00
Martin Krizek
38444bb76c
yum: the rpm command requires newline in --qf ( #32244 )
2017-11-09 05:41:47 -05:00
Toshio Kuratomi
facbf7f14d
Remove the params option from jenkns_plugin and yum_repository ( #32708 )
...
* Remove the params option from jenkns_plugin and yum_repository
It was decided that these options which override Ansible module options
from a generic, unchecked dict are an antipattern for Ansible Modules
and must be removed:
https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html
Fixes #30874
2017-11-08 13:59:59 -08:00
tdtrask
760ea4b49e
apk: Override system repositories ( #32689 )
...
Override system repositories when repository option is specified. This fixes inconsistencies when using check mode.
2017-11-08 11:13:56 -05:00
Martin Krizek
a8ab1a0b20
yum: use the C locale when screen scraping ( #32203 )
2017-11-05 09:28:05 -05:00
akatch
ea2afc6ebc
Fixes #32092 ( #32412 )
...
* Fixes #32092
* Linter fix
2017-11-02 08:54:11 +10:00
Brian Coca
43714a0091
corrected package docs
2017-10-31 15:31:42 -04:00
Martin Krizek
ee6ba5d590
yum: allow for downgrade using rpm file ( #31647 )
2017-10-24 14:33:38 +02:00
James Molet
42deaf2c71
updating argument validation for activation keys to match subscription-manager command line, fixes #27283 ( #30236 )
2017-10-13 08:59:49 -04:00
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
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
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