Martin Nečas
52f2081e62
Ovirt_host_network: add custom_properties ( #67117 )
...
* init of cp
* set update_custom_properties
* update check_mode
* correct examples
* add version_added
* update sanity
5 years ago
Markus Bergholz
822077fefd
Asg mixed instance types ( #67045 )
...
* merge from origin pr 55067
* handle update existing asg with mixed-instance-policy
* fix documentation and append output
* update output documentation
* update documentation version added
* add integration test for mixed instance policy using launch template
* add changelog fragment
* Update lib/ansible/modules/cloud/amazon/ec2_asg.py
Co-Authored-By: Mark Chappell <mchappel@redhat.com>
* Update lib/ansible/modules/cloud/amazon/ec2_asg.py
Co-Authored-By: Mark Chappell <mchappel@redhat.com>
* Update lib/ansible/modules/cloud/amazon/ec2_asg.py
Co-Authored-By: Jill R <4121322+jillr@users.noreply.github.com>
* add warning about botocore version and add expand example documentation
* Update changelogs/fragments/67045-ec2_asg_mixed_instance_policy.yml
Co-Authored-By: Mark Chappell <mchappel@redhat.com>
* Update lib/ansible/modules/cloud/amazon/ec2_asg.py
Co-Authored-By: Mark Chappell <mchappel@redhat.com>
* Update lib/ansible/modules/cloud/amazon/ec2_asg.py
Co-Authored-By: Mark Chappell <mchappel@redhat.com>
* remove useless line
Co-authored-by: Yi-Tse Hong <yitse.hong@soocii.me>
Co-authored-by: Mark Chappell <mchappel@redhat.com>
Co-authored-by: Jill R <4121322+jillr@users.noreply.github.com>
5 years ago
Jordan Borean
f23cee2145
win_mapped_drive - Add WebDAV information ( #67111 )
5 years ago
Jordan Borean
12e3adb23a
win_domain_controller - add a deprecation warning for the log_path option ( #67108 )
5 years ago
Jordan Borean
78470c43c2
Removed deprecated items in Windows modules ( #67105 )
5 years ago
James Cassell
1bb94ec92f
service_mgr: detect systemd, even offline ( #66071 )
...
* service_mgr: detect systemd, even offline
* service_mgr=systemd iff /sbin/init is symlink
5 years ago
GomathiselviS
4ac89b8ac7
Added Fix - Allow nxos_l2_interfaces to append the allowed vlans list ( #66517 )
...
* Added Integration tests
* Corrected lint errors
* Added fix for bug # 54400
* Revert "Added fix for bug # 54400"
This reverts commit bf42db4269
.
* Revert "Adding files for RM static_routes"
This reverts commit dafdd92d43
.
* Revert "Added Integration tests"
This reverts commit 129dc87682
.
* Bug Fix 65332
* Added testcase for #66517
* Removed unnecessary commit
* fixing conflicts
* fixing conflicts
* addressed mikeweibe's comments
* Corrected lint errors
* Added idempotent tc for add vlans
* Added replaced and overridded tcs for trunk vlan add
5 years ago
James Cassell
fd954a9c5c
wait_for_connection: also retry interpreter discovery ( #67040 )
...
self._discovered_interpreter_key is None unless a previous iteration
has attempted discovery. In that case, force re-discovery, as the
previous attempt certainly failed.
5 years ago
Matt Clay
f4a80bb600
Code cleanup and refactoring in ansible-test. ( #67063 )
...
* Code cleanup in ansible-test.
* Split out encoding functions.
* Consoldate loading of JSON files.
* Split out disk IO functions.
* Simplify file access.
* Add functions for opening files.
* Replace open calls with appropriate functions.
* Expose more types from typing module.
* Support writing compact JSON.
* Add verbosity argument to display.warning.
* Add changelog entry.
* Update files overlooked during rebase.
* Use `io.open` instead of `open`.
* Fix file opening for imp.load_module.
* Remove use of `r+` mode to access files.
* Add missing import.
* Fix httptester on Python 2.x.
* Clarify changelog fragment.
* Consolidate imports. Remove extra newlines.
* Fix indirect imports.
5 years ago
tavery321
994a6b0c5a
fixes ANSIBLE_DUPLICATE_YAML_DICT_KEY=error crashes ( #66786 )
...
* Fix #65366
5 years ago
Erwin Oegema
3b32f95fb3
user - warn if "append" is set but not "groups" ( #65795 )
...
This fixes people unknowingly changing the primary group rather than adding a secondary group.
* Add integration test
5 years ago
Felix Fontein
fe454d27a1
Fix removed_in_version to support honor suboptions ( #66918 )
...
* Add unit tests.
* Fix reporting for removed_in_version.
* Add changelog.
5 years ago
Felix Fontein
28b2428d22
docker_container: fix port order in docs ( #67071 )
...
* Fix port order.
* Forgot to remove random.
5 years ago
Felix Wong
8b2ead5870
add jittered backoff for elb ( #66673 )
5 years ago
Brian Scholer
fc7980af9a
Fix UNC path support in the powershell shell plugin ( #66604 )
...
* Fix UNC path joining in the powershell shell plugin, add test
* Remove testy bits and a redundant line
* Fix style nits
* Update to use os.ntpath
* Add changelog for #66604
5 years ago
AirCombat
81378b3e74
Added -LogPath param from Install-ADDSForest to win_domain module ( #66956 )
...
* Added omitted logpath parameter to win_domain
The Install-ADDSForest -LogPath param seems to have been omitted in the win_domain module. We do not use this module organisation-wide as its non trivial to change the log patch once AD is set up. I will also update docs
* Removed trailing whitespace
* Added logpath option to win_domain module docs
5 years ago
Jordan Borean
6d792838e4
Move url option from util to individual modules ( #67068 )
5 years ago
Matt Clay
be9471b251
Temporarily remove AIX from test matrix.
...
AIX provisioning is failing.
5 years ago
Jordan Borean
3ada0b2f65
win_uri: fix up tests ( #67064 )
5 years ago
Felix Fontein
23b2bb4f4d
docker_container: change behavior for one-port container ranges to be same as docker CLI ( #66382 )
...
* Adjust docker_container behavior for one-port container ranges to be similar to docker CLI.
* Add changelog.
* Add documented examples for ports:.
5 years ago
Andrew Klychkov
21ae66db2e
postgresql_user_obj_stat_info: new module ( #66892 )
...
* postgresql_user_obj_stat_info: new module
* fix sanity
* add schema parameter
* add CI tests
* add RETURN section
* add example with schema
* fix CI
* fix example comments
* skip aix
* fixes part 1
* fixes part 2
* fix CI
* fix CI
* fix doc formatting
5 years ago
Matt Clay
622f1c4c01
Revert "Temporarily remove AIX from test matrix."
...
This reverts commit 6024c09be5
.
5 years ago
Dick Visser
5b93a14a0f
Add anchor to each parameter row ( #66895 )
...
* Add anchor to each paramater row
* Update docs/templates/plugin.rst.j2
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Insert full keys into plugin docs.
* Added visible links.
Co-authored-by: Felix Fontein <felix@fontein.de>
5 years ago
Matt Clay
6024c09be5
Temporarily remove AIX from test matrix.
...
AIX provisioning is failing.
5 years ago
Felix Fontein
5c1a3a3ac2
docker_container and docker_swarm_service: allow to actually disable healthcheck of image ( #66599 )
...
* Allow to actually disable healthcheck of image.
* Add changelog.
5 years ago
Ilias Trichopoulos
d6f2b4e788
Fix indentation ( #66991 )
5 years ago
unixsysadmin
ea105dcb2f
Update template.py ( #67010 )
...
Update the example so that the task name matches the filename being updated
The first example shows how you might template a file to destination /etc/file.conf. The description of this task appears to have a typo as it refers to '/etc/files.conf' rather than '/etc/file.conf'
5 years ago
Sander
87a5e433ef
update guide_azure.rst ( #66940 )
...
changed example for ping linux machines. Looks liked it was wrongly copy paste.
5 years ago
Gregor Riepl
f49408287a
Document difference between ec2 and ec2_instance modules ( #67009 )
...
Co-Authored-By: Mark Chappell <mchappel@redhat.com>
5 years ago
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
5 years ago
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
5 years ago
ndclt
0ee28c14c2
Add maintainer for keycloak module ( #61521 )
...
* add maintainer for keycloak module
* typo correction
5 years ago
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.
5 years ago
Simon Dodsley
b1a8bded3f
Remove deprecated parameter for 2.10 in purefb_fs ( #67026 )
5 years ago
Felix Fontein
8f10db8552
Do fail instead of regenerate for password protected and invalid keys. ( #65638 )
5 years ago
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.
5 years ago
Evert Mulder
4d345813ea
Group ids are strings now ( #66939 )
5 years ago
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>
5 years ago
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
5 years ago
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.
5 years ago
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.
5 years ago
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
5 years ago
Simon Dodsley
26175178ee
Fix user_agent string not getting set ( #66914 )
5 years ago
Sam Doran
9db0fb785d
Add collections path option to ansible-galaxy ( #66969 )
...
Some common code needed for 'collection list' and 'collection validate'
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
Petr Mikusek
725bb4d173
Fix typo in shell_windows.py ( #66964 )
5 years ago
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
5 years ago
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>
5 years ago