Sander
87a5e433ef
update guide_azure.rst ( #66940 )
...
changed example for ping linux machines. Looks liked it was wrongly copy paste.
2020-02-03 12:26:14 -05:00
Gregor Riepl
f49408287a
Document difference between ec2 and ec2_instance modules ( #67009 )
...
Co-Authored-By: Mark Chappell <mchappel@redhat.com>
2020-02-03 12:12:13 -05:00
Martin Nečas
fad261b04f
ovirt_job: add when job is detected but in state finished ( #66810 )
...
* ovirt_job: add when job is detected but in state finished
* add docs
2020-02-03 09:21:10 -05:00
Nathaniel Case
53c7f8cbde
Allow httpapi for EOS resource modules ( #66871 )
...
* Redo tests to be transport agnostic
cli -> eos config
* Redirect connection for httpapi
* Fix tests
* Handle missing platform imports
2020-02-03 08:04:08 -05:00
ndclt
0ee28c14c2
Add maintainer for keycloak module ( #61521 )
...
* add maintainer for keycloak module
* typo correction
2020-02-03 11:57:11 +01:00
Felix Fontein
a0e5e2e4c5
openssl_publickey: forgot to pass backend ( #67036 )
...
* Forgot to pass backend.
* Add changelog.
* Pass on backend from get_fingerprint.
* Handle cryptography backend in get_fingerprint.
2020-02-03 06:18:19 +01:00
Simon Dodsley
b1a8bded3f
Remove deprecated parameter for 2.10 in purefb_fs ( #67026 )
2020-02-02 15:30:01 +01:00
Felix Fontein
8f10db8552
Do fail instead of regenerate for password protected and invalid keys. ( #65638 )
2020-02-02 07:54:28 -05:00
Felix Fontein
d6fb9da8ed
openssl_* modules: allow direct input and output for some files ( #65400 )
...
* Allow to return generated object.
* Use slurp module instead of file lookup + b64encode.
* Rename return_xxx_content -> return_content.
2020-02-02 12:42:52 +01:00
Evert Mulder
4d345813ea
Group ids are strings now ( #66939 )
2020-02-02 04:57:23 -05:00
Klaus Frank
14b1febf64
Fix pacman: "IndexError: list index out of range" #63077 ( #65750 )
...
* Fix #63077
If the package is already installed the stdout is not as expected by this function. Either remove `--needed` or just noop if we detect pacman returning. We cannot match the stdout string, as that is most likely localized.
```
[root@archBook user]# /usr/bin/pacman --upgrade --noconfirm --noprogressbar --needed /srv/aur/src/i3cat-git/i3cat-git-r38.c6d29dd-1-x86_64.pkg.tar.xz
loading packages...
warning: i3cat-git-r38.c6d29dd-1 is up to date -- skipping
there is nothing to do
```
* Add comment
Add comment
* Add changelog fragment.
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-02-01 14:37:27 +01:00
Andrew Klychkov
3baea92ec9
Bugfix of 54239: mysql_variables not supporting variables name with dot ( #66806 )
...
* Bugfix of 54239: mysql_variables not supporting variables name with dot
* add changelog
* add CI tests
2020-02-01 12:39:52 +05:30
Toshio Kuratomi
f5e194cbcd
Move random_mac into its own file ( #67000 )
...
* Move random_mac into its own file
This is likely to be the only filter which is not included in
ansible-base. So it needs to be in its own file.
2020-01-31 14:33:16 -08:00
Rotaru Sergey
ef1fd19c00
croc cloud - ec2 key patch ( #60929 )
...
This patch fixes "IndexError: list index out of range" error for https://console.cloud.croc.ru .
When key pair is new, croc return dict with an empty list for key KeyPairs that causes ansible to crush.
2020-01-31 17:20:58 -05:00
Mark Chappell
919a9e33e8
Minor AWS argument checks (required_if / mutually_exclusive) fixups ( #66966 )
...
* aws_netapp_cvs_snapshots - minor required_if fixup (state must be set if state=present)
* ec2 - fix typo in mutually_exclusive definition
* rds_instance: fix typo in mutually_exclusive restore_to_time should be restore_time - currently throws a boto error
2020-01-31 22:17:46 +01:00
Simon Dodsley
26175178ee
Fix user_agent string not getting set ( #66914 )
2020-01-31 15:50:53 -05:00
Sam Doran
9db0fb785d
Add collections path option to ansible-galaxy ( #66969 )
...
Some common code needed for 'collection list' and 'collection validate'
2020-01-31 14:27:54 -06:00
Andrew Klychkov
16ebeda86d
Bugfix of 66974: mysql_user doesnt support privileges with underscore ( #66995 )
...
* Bugfix of 66974: mysql_user doesnt support privileges with underscore
* add changelog
* add seealso
2020-01-31 20:44:03 +01:00
Stefan Horning
aad286b403
Make cloudfront_info work with Python3 … ( #66695 )
...
* Make cloudfront_info work with Python3 by using dict.update(dict) instead of dict += dict.
* Added changelog fragment for cloudfront_info fix
2020-01-31 14:37:36 -05:00
Nathaniel Case
3dbc03d58a
Try to load action plugin from the same collection as the module ( #66701 )
...
* Try to load network action plugin from the same collection as the module
* Alter tests to match
Just make sure the action plugin is as qualified as the module it is paired with
2020-01-31 12:49:37 -05:00
Petr Mikusek
725bb4d173
Fix typo in shell_windows.py ( #66964 )
2020-01-31 11:48:28 -05:00
Andrew Klychkov
54520c4685
mysql_user: priv parameter can also be a dictionary ( #66801 )
...
* mysql_user: add priv_dict parameter
* add changelog
* priv can be string or dictionary
* fix example
2020-01-31 16:32:31 +01:00
Mark Chappell
813091cf94
Migrate ec2_vol_info to AnsibleAWSModule ( #66979 )
...
* Migrate ec2_vol_info to AnsibleAWSModule
* Enable ec2_vol_info tests
* Add changelog
* Update lib/ansible/modules/cloud/amazon/ec2_vol_info.py
Co-Authored-By: Sloane Hertel <shertel@redhat.com>
2020-01-31 09:55:10 -05:00
John R Barker
7968271559
Add migrated_to: community.grafana ( #66981 )
2020-01-31 12:12:21 +00:00
Felix Fontein
f1a30164c5
Fix 'container_default_behavior: no_defaults'. ( #66601 )
2020-01-31 10:45:59 +01:00
Jordan Borean
2a9ec8975f
win_unzip - LiteralPath fix ( #66972 )
...
* win_unzip - LiteralPath fix
* Fix up Python sanity issues
2020-01-31 12:59:46 +10:00
Matt Clay
d584584474
Reorganize ansible-test coverage code.
...
This change moves all code for the `ansible-test coverage` command into the `coverage` directory.
Each subcommand is split into a separate file.
Only minor spelling changes were made aside from code relocation.
2020-01-30 14:41:21 -08:00
Gonéri Le Bouder
2ea159eefd
vmware_cluster_facts does not set hosts key
...
Since https://github.com/ansible/ansible/pull/61006 `vmware_cluster_info`
exposes a new key called `hosts`. The deprecated module
`vmware_cluster_facts` keeps the previous behaviour, and so we must keep
its test-suite unchanged.
2020-01-30 16:45:02 -05:00
Mark Chappell
5d4d9d40af
ansible-test - Add 'get' to the list of bad choices for state ( #66921 )
...
* ansible-test - Add 'get' to the list of bad choices for state
* Changelog fragment
2020-01-30 22:38:47 +01:00
Jordan Borean
811c54a7a4
validate-modules - support deprecated_aliases ( #66965 )
...
* validate-modules - support deprecated_aliases
* Removed changelog fragment
2020-01-31 07:35:16 +10:00
Matt Clay
4452f506a8
Split up filter integration tests. ( #66962 )
...
* Split out json_query filter tests.
* Split out urlsplit filter tests.
* Split out ipaddr filter tests.
* Split out urls filter tests.
* Split out mathstuff filter tests.
* Clean up core filter tests.
2020-01-30 12:49:54 -08:00
Sam Doran
5112feeace
Make get_bin_path() always raise an exception ( #56813 )
...
This makes it behave in a more idiomatic way
* Fix bug in Darwin facts for free memory
If the vm_stat command is not found, fact gathering would fail with an unhelpful
error message. Handle this gracefully and return a default value for free memory.
* Add unit tests
2020-01-30 12:54:25 -05:00
Andrew Klychkov
c9a34ae33e
mysql modules: fix the module's documentation ( #66848 )
2020-01-30 11:44:47 -05:00
Sam Doran
c8568a5c94
Add documentation about vars used in roles at the play level ( #66907 )
2020-01-30 11:08:24 -05:00
Paul Belanger
adf73d47ec
Remove unused imports from paramiko_ssh connection ( #66948 )
...
These were caught by flake8 testing for ansible.netcommon collection.
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2020-01-30 11:01:34 -05:00
Toshio Kuratomi
4273e84962
Upstream jinja has decided not to rename from jinja2. ( #66880 )
...
So we're going to keep our intersphinx labels as jinja2 to match what
upstream is doing
2020-01-30 10:57:50 -05:00
Abhijeet Kasurde
2728c2476e
docs: Fixed "Edit on GitHub" link for plugin, cli ( #66745 )
...
Fixed sphinx theme to navigate "Edit on Github" link to locate correct
plugin, cli source in GitHub repo.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-01-30 10:55:46 -05:00
Yanis Guenane
76809bbba2
testing: Enable AIX has a platform again
2020-01-30 07:37:41 -08:00
Nathaniel Case
bf65e7a3f6
nxos_facts: Don't fail if faninfo isn't reported ( #66866 )
2020-01-30 10:23:21 -05:00
sky-joker
72e1716f29
Fix to gather facts include macro and tag ( #66947 )
2020-01-30 10:07:40 -05:00
Dusan Matejka
e3190adcbb
zabbix_host - added support for usermacros and tags ( #66777 )
2020-01-30 08:32:47 -05:00
Felix Fontein
5fdc9a61f0
docker_container: pass volumes only for anonymous volumes ( #66600 )
...
* Simplify code.
* Only pass anonymous volumes.
* Add changelog and update porting guide.
* Add integration tests.
2020-01-30 14:08:25 +01:00
Dusan Matejka
57805b7def
zabbix_proxy interface option documentation and argspec fixes ( #66837 )
...
* zabbix_proxy interface option documentation and argspec fixes
* Update changelogs/fragments/66837-zabbix-proxy-interface.yml
Co-Authored-By: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-01-30 14:06:44 +01:00
fraff
553997db25
Add new module cloud/ovh/ovh_monthly_billing.py ( #65730 )
...
remove useless 'state' parameter and update doc
remove useless module.params.get('state')
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
Update lib/ansible/modules/cloud/ovh/ovh_monthly_billing.py
add application_key, application_secret and consumer_key optional parameters
Add some example concerning ovh auth.
2020-01-30 12:16:11 +01:00
Matt Clay
df1144ced7
Temporarily remove AIX from test matrix.
...
AIX provisioning is failing.
2020-01-29 20:32:27 -08:00
Matt Clay
49d8d5ae33
Fix ansible-test tar format handling.
2020-01-29 20:31:54 -08:00
Yanis Guenane
4fd2dce7f3
Testing: Add support for AIX platform ( #65802 )
2020-01-29 15:56:51 -08:00
Sviatoslav Sydorenko
eec6afd116
Explicitly set junit_family=xunit1 @ pytest config
...
This change hides the deprecation warning and protects from
failures in pytest==6.0.0
Ref:
* https://github.com/ansible/ansible/pull/66445#discussion_r372530176
Co-Authored-By: Matt Clay <matt@mystile.com>
2020-01-30 00:05:02 +01:00
Matt Clay
479845a05c
Expand Shippable test matrix. ( #66912 )
...
* Add 2 CI groups for AWS.
* Add 1 CI group for vmware.
* Add 1 CI group for CS.
* Add 1 CI group for posix.
2020-01-29 14:43:27 -08:00
rule88
6a1f82f174
url lookup - add options to match those in urls.py ( #64892 )
...
Add 'force_basic_auth' option
By default "force_basic_auth" option is set to False, with this adjustment it is up to the user if it wants to enforce basic authentication.
2020-01-29 16:45:25 -05:00