Commit Graph

20006 Commits (4065acc37de1408b3ced2814b1c5917903a41d9e)
 

Author SHA1 Message Date
Brian Coca 940533762d reorganized release playbook
moved versions into it's own file to keep the main play more readable
9 years ago
Matt Clay fdf22b5a40 Support module tests on a single image. (#16620) 9 years ago
James Cammarata 9248cde239 Force remote_user to be the currently user for connection=local
Fixes ansible-modules-core#4092
9 years ago
Matt Clay 696feacbb6 Add script to generate module tests. (#16617) 9 years ago
Toshio Kuratomi 251c9182fe Refactor network and eos module_utils to use a subclass instead of factory function to create the NetworkModule 9 years ago
Toshio Kuratomi 626e6aee7d Update core submodule for unarchive fixes 9 years ago
Toshio Kuratomi d1558fcee4 Don't check that we import basic.py in new-style modules (#16613)
Since Ansiballz, we no longer need to import basic directly into
a new-style module.  Some modules, like the Networking modules, may
import basic in their own module_utils files and the module will import
that specialized module_util file rather than basic.
9 years ago
Toshio Kuratomi a93cf801e1 Update submodule refs 9 years ago
Monty Taylor 229d8f6b21 Don't treat parsing problems as async task timeout (#16458)
* Don't treat parsing problems as async task timeout

If there is a problem reading/writing the status file that manifests as
not being able to parse the data, that doesn't mean the task timed out,
it means there was what was likely a tempoarary problem. Move on and
keep polling for success. The only things that should cause the async
status to not be parseable are bugs in the async_runner.

* Add comment explaining not bailing out of loop

* Return different error when result is unparseable

* Remove extraneous else
9 years ago
James Cammarata 930d090507 Fix the way handlers are compiled and found/notified
* Instead of rebuilding the handler list all over the place, we now
  compile the handlers at the point the play is post-validated so that
  the view of the play in the PlayIterator contains the definitive list
* Assign the dep_chain to the handlers as they're compiling, just as we
  do for regular tasks
* Clean up the logic used to find a given handler, which is greatly
  simplified by the above changes

Fixes #15418
9 years ago
Brian Coca 729686a434 added back spaces for profile_tasks formatting 9 years ago
Toshio Kuratomi d38cc1e0a1 Remove doubled instantiation of the zipfile (#16609) 9 years ago
René Moser 0f5f5fffee cloudstack: handle unicode API results in has_changed (#16601)
* cloudstack: handle unicode API results in has_changed

* cloudstack: add more case sensitve keys
9 years ago
Peter Sprygada 58eab8ee9f Merge pull request #16573 from privateip/network
captures the responses from running commands and adds response to object
9 years ago
James Cammarata 690bc192d5 Use get_handler_blocks() to get list of role handlers 9 years ago
Toshio Kuratomi 3f4027f7b4 Add the PID of the Ansible process to local_tmp directory. (#16589)
This aids in associating a leftover cachedir with a previous run of
Ansible.  Came about because of #16489
9 years ago
Will Thames 0e16a5f3ee Retain local tar.gz roles during galaxy install (#16592)
Don't treat local tar.gz files as temporary when cleaning
up at the end of an ansible-galaxy install
9 years ago
nitzmahone 1c2bc49025 update docs for unsupported Windows features 9 years ago
Peter Sprygada 7d53fd2ef2 Merge pull request #16587 from privateip/netcfg
minor bug fixes found in netcfg
9 years ago
Peter Sprygada c9dccd3566 Merge pull request #16588 from privateip/vyos
bug fixes in vyos shared module
9 years ago
Peter Sprygada f30a836063 bug fixes in vyos shared module
* fixes lots of bugs with get_config function to perform correctly
* refactors load_config into load_candidate
* adds load_config function to convert commands to NetworkConfig
9 years ago
Peter Sprygada 3002965af0 minor bug fixes found in netcfg
* fixes issue with converting config to lines
* fixes issue with returning text config with single line
9 years ago
nitzmahone c5e0d3d17b prevent spurious pywinrm arg warnings for non-pywinrm connection args 9 years ago
nitzmahone 908ca727d6 bump core submodule ref 9 years ago
James Cammarata a178ffa674 Merge pull request #15890 from brandond/inv_refresh_hostvars-fixes_15115
Ignore limits and restrictions when parsing inventory.
9 years ago
Brian Coca ec61fba553 updated subref to fix pip issue 9 years ago
Brian Coca 65f87486fc updated module subrefs 9 years ago
Robin Roth d0ccedc617 Fix git shallow update (#16224)
* add git shallow fetch test

covers https://github.com/ansible/ansible-modules-core/issues/3782

updating a repo with depth=1 fails silently if version==HEAD

* raise git version support supporting depth to 1.9.1
9 years ago
James Tanner d51917f306 Update submodule refs 9 years ago
James Cammarata 06379bb288 Prevent loop_control from being inherited via parent includes
Fixes #16542
9 years ago
James Cammarata 584ffe0c64 Merge branch 'axelspringer-iterator-returncode' into devel 9 years ago
James Cammarata ea6efdbf2c Merge branch 'iterator-returncode' of https://github.com/axelspringer/ansible into axelspringer-iterator-returncode 9 years ago
Martin Matuska 8bff6154a6 Determine failed hosts with _check_failed_state() (#16566) 9 years ago
Peter Sprygada c5d4151234 Merge pull request #16576 from privateip/vyos_docs
initial add of vyos shared documentation fragments
9 years ago
Peter Sprygada 54199f1cfb initial add of vyos shared documentation fragments 9 years ago
Peter Sprygada 0430923647 Merge pull request #16423 from privateip/netcfg
bug fix in netcfg replace method to handle whitespace argument
9 years ago
Peter Sprygada 65713c2418 Merge pull request #16574 from privateip/vyos
add get_config function to vyos shared module
9 years ago
Peter Sprygada d9546d6367 Merge pull request #16572 from privateip/netcmd
adds new method to return specific response from command to netcmd
9 years ago
Peter Sprygada 2866c7a9fb updates netcfg to remove dependency on collections module
This fixes the netcfg shared lib to be compatable with python versions
prior to 2.7.
9 years ago
Peter Sprygada 6b8c24e0f8 bug fix in netcfg replace method to handle whitespace argument 9 years ago
Peter Sprygada 75b8cf6ab3 captures the responses from running commands and adds response to object
The Command object can now store the response from executing the command
to allow it to be retrieved later by command name.  This update will
update the Command instance with the response before returning.
9 years ago
Peter Sprygada 527e4196b2 adds new method to return specific response from command to netcmd
This adds a new method that will return the output from a specified
command that has already been excuted by the CommandRunner.  The new
method, get_command takes a single argument which is the full name
of the command to retrieve.
9 years ago
Peter Sprygada 062db03f99 add get_config function to vyos shared module
This adds a new shard function get_config to retrieve the device
configuration either from module arguments or remotely from the
device.
9 years ago
Chris Houseknecht 54db1df244 Merge pull request #16559 from chouseknecht/azure-rc5
Fix authentication via params and env variables.
9 years ago
James Cammarata 83e4a4048b Fix the way pull localhosts out of inventory for delegate_to
This patch corrects the way we look in the inventory hosts list for
implicit localhost entries when localhost aliases are used.

Fixes #16568
9 years ago
Robin Roth 1f04130c00 add more distribution version tests (#16563)
* ubuntu 16.04
* solaris 10, 11
* fedora 22, 25

Thanks Peter Oliver for providing the test data
9 years ago
René Moser b410e710a0 Merge pull request #16562 from robinro/enable-apt-repo-tests-1604
reenable apt_repository tests in ubuntu 16.04
9 years ago
Robin Roth 8021adfe97 use git-core ppa instead of menulibre
menulibre is no longer actively maintained and does not support 16.04
9 years ago
Robin Roth a5e394d23a reenable apt_repository tests in ubuntu 16.04
fixes #15718
9 years ago
Chris Houseknecht c71a939b08 Fix authentication via params and env vars. Update guide to RC5. 9 years ago