Commit Graph

36590 Commits (55fd3d62fbcf8c29e2d84072a35327a916e3f332)
 

Author SHA1 Message Date
Martin Krizek f666208b75
Add integration test for #35900 (#38090)
* Add integration test for #35900

* Fix cleanup
6 years ago
brhatiga 8199b448e8 Add no_log to activationkey (#36657) 6 years ago
Megian 7a5e7c83d3 dictionary changed size during iteration error (#37454)
Iterating an object and changing it at the same time is unsecure and no longer permitted in Python >= 3.6

Provisioning an instance fail with the Python error: "RuntimeError: dictionary changed size during iteration"
6 years ago
Kassian Sun 72657ce815 Add example to clear the usage of `extra_opts` (#31873) 6 years ago
Dag Wieers 70d49f7616
Fix indentation issue
<!--- Your description here -->

+label: docsite_pr
6 years ago
Charles Chan fd711671ed copy: doc: fix typo (#38197) 6 years ago
Trishna Guha 119352b538
nxos_vlan purge (#38202)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
6 years ago
saichint 24cc6b80bd fix nxos_aaa_server_host issues (#38188) 6 years ago
Dag Wieers 35b7b608bf
Add missing required property to docs
<!--- Your description here -->

+label: docsite_pr
6 years ago
Julien PRIGENT 70bcc5ed45 ec2_snapshot_copy: WaitError and ClientError exception handling (#38072) 6 years ago
Gennady Aleksandrov 67cd641c04 Fixes #38085 - cloudfront_invalidation doesn't work for the first invalidation ever (#38086) 6 years ago
Abhijeet Kasurde 2d90f50eeb git_config: add quotes in complex value (#38168)
This fix adds quotes to complex values of git config keys.

Fixes: #20954

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Sam Doran b5b3beff83 Correct syntax highlighting in plugin dev docs (#38184)
Use rst em dash
6 years ago
cpitre 5d779fada0 Doc formatting update for office_365_connector_card.py (#38142)
* Update office_365_connector_card.py

The two bullet items were about one single item; this module is not idempotent.
Therefore the two bullet items should be one.

 label: docsite_pr

* Update office_365_connector_card.py

Removed trailing white space that caused the test failure.
6 years ago
Ryan Brown 87bd169ca9 Allow subnets with names formatted like `subnet-1234` (#37740)
* Allow subnets with names formatted like `subnet-1234`

* Deduplicate IDs, in case a subnet is specified both by name and ID
6 years ago
Alex Stephen d129396274 GCP: Compute IP Addresses (#36325) 6 years ago
Artem Tiumentcev 082b03c829 fix set options in callbacks for foreman 6 years ago
Jim Gu 5839f07e0f yaml callback fails on python3
When the URI module returns complex JSON objects, the YAML callback
fails while trying to represent these objects.  The problem arises
because the filter method returns an iterator in Python 3, rather than a
str object.  Therefore, the str method expandtabs() is not available,
and the callback fails with the following error:

[WARNING]: Failure using method (v2_runner_on_failed) in callback plugin (<ansible.plugins.callback.yaml.CallbackModule object at 0x7f7c7ed8aa20>): 'filter' object has no attribute 'expandtabs'

Issue can be replicated by running this playbook:

- hosts: localhost
  gather_facts: false
  tasks:
    - uri:
        url: https://jsonplaceholder.typicode.com/posts

ansible-playbook tmp.yml -v
6 years ago
Will Thames 423b0e0f58 Improve details and events results for ecs_service_facts (#37983)
* Use AnsibleAWSModule to simplify AWS connection
* Add Exception handling, pagination, retries and backoff
* Allow events to be switched off
* Allow details to be obtained without having to specify services
6 years ago
Sascha Marcel Schmidt 50761bef0a changes description to match module (#31364) 6 years ago
Milan Ilic a73e2a924b Add OpenNebula one_image module (#37831) 6 years ago
saichint 697c301f04 fix nxos_aaa_server issues (#38117) 6 years ago
Yasen Simeonov b4debfad9a Add NSX-T Logical Switch support in vmware_guest (#37979)
* Add NSX-T Logical Switch support in vmware_guest

* Update vmware_guest.py

add space after % operator
6 years ago
balonik 0cdba9ff70 add instanceUuid (also called PersistentId) in vmware utils (#37127) 6 years ago
Felix Fontein 93fc99c576 Making clearer that the module has to be executed twice, and that the second run needs the data of the first (#37884). (#38135) 6 years ago
René Moser 28ce3c2329
doc: inventory: nmap: fix version added (#38157) 6 years ago
René Moser b06dfbec54
cs_user: fix E325 (#38158) 6 years ago
Felix Fontein 8b98c29afd Remove the deprecated tls-sni-02 challenge method. (#38137) 6 years ago
Daniel 45e4dfda3d doc: fix grammar (#38145) 6 years ago
Ondra Machacek 9a21f9b2db ovirt_host_networks: Fix of bond assignment (#38054)
* ovirt_host_networks: Fix of bond assignment

* ovirt_host_networks: Fix bond modes

* ovirt_host_networks: Fix incorrect prefix documentation
6 years ago
Ondra Machacek 477a602fdf ovirt_hosts: Fix failed_state after PM fence (#38102) 6 years ago
Yuwei Zhou 1c00a14c31 fix typo (#38131) 6 years ago
Dag Wieers 126a41327c
Update docs to highlight lookup plugins for templating
<!--- Your description here -->

+label: docsite_pr
6 years ago
Dag Wieers 3973eb4c30
Added an example using a templated payload file
<!--- Your description here -->

+label: docsite_pr
6 years ago
Abhijeet Kasurde 16cf51926d VMware: vmware_portgroup teaming policy support (#36778)
This fix adds support for specifying teaming policy in
vmware_portgroup module.

Fixes: #36773

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
6 years ago
Martin Krizek fd96bcd22f Use correct action in warning about missing name 6 years ago
Brian Coca 5e2f215dd7 Nmap inventory (#32857)
* nmap inv plugin draft

* more accurate regex

* fix format
6 years ago
Sam Doran a4c82d5842 Update EdgeOS modules to be community supported (#38112) 6 years ago
gmaes 27c47f75ad #29334 handle maven local repo (#36159) 6 years ago
Sloane Hertel ee06f57f0d
[ec2_vpc_nacl] revert suboptions for ingress and egress module parameters (#38071) 6 years ago
Dag Wieers 800dad5bdf uri: Add redirect tests for none, safe, urllib2 and all (#37068)
This is required if we want to ensure that #36809 doesn't cause any
important behavioral changes.

This PR changes the uri module to support follow_redirects=urllib2

It also adds a better error message when the connection closes before
any data was returned.
6 years ago
Renato Orgito fea8c84a17 Fix returned landscape value when using python3 6 years ago
Pilou 7908f78fa6 module_common: handle None value for templar (#36651)
* module_common: set required parameter templar

Fix the following error (related to b455901):

  $ ./hacking/test-module -m ./lib/ansible/modules/system/ping.py -I ansible_python_interpreter=/usr/bin/python
  Traceback (most recent call last):
    File "./hacking/test-module", line 268, in <module>
      main()
    File "./hacking/test-module", line 249, in main
      (modfile, modname, module_style) = boilerplate_module(options.module_path, options.module_args, interpreters, options.check, options.filename)
    File "./hacking/test-module", line 152, in boilerplate_module
      task_vars=task_vars
    File "ansible/lib/ansible/executor/module_common.py", line 910, in modify_module
      environment=environment)
    File "ansible/lib/ansible/executor/module_common.py", line 736, in _find_module_utils
      shebang, interpreter = _get_shebang(u'/usr/bin/python', task_vars, templar)
    File "ansible/lib/ansible/executor/module_common.py", line 452, in _get_shebang
      interpreter = templar.template(task_vars[interpreter_config].strip())
  AttributeError: 'NoneType' object has no attribute 'template'

* module_common.modify_module: templar is required
6 years ago
jctanner e10724fadb dedupe the --rsh options in favor of user supplied (#38096) 6 years ago
saichint 6f2cb28bb9 fix nxos_vlan issues (#38008) 6 years ago
zikalino 2ad7d79985 additional fixes to function app test 6 years ago
Deepak Agrawal 66b389a00d
show version brief does not work on iosxr virtual (#37609)
* show version brief does not work on iosxr virtual

* ci failures fix
6 years ago
Martin Krizek 73d3ed85ef
Fix apt tests (#37922)
* Fix apt tests

* Enable the test in CI

* Additional fixes not discovered locally

* Don't break mysql tests and fix for 14.04 upgrade

* Remove not needed when cond

* Add shebang to fix-udev script

* Remove workaround in favor of rebuilding containers

* Remove leftover script
6 years ago
Fabian Zimmermann 0efbb702b9 fixes bug: puppet module is no longer updating persistent external facts (#38026) 6 years ago
jctanner 7ea05a2d56 synchronize: fix the mixture of quoting and passing of lists to run_command (#38020)
* switch to six.moves.shlex_quote

* remove the unncessary quotes on rsh
6 years ago