Commit Graph

20979 Commits (247066e6a899529328ae2d0aae4584c26186ae34)
 

Author SHA1 Message Date
Toshio Kuratomi 64c446d9c0 Normalize text and byte type in the ssh plugin helper method that builds up an ssh command (#17860)
Mostly cleanups to make the code more efficient, more pythonic, and obey
the unicode sandwich strategy more but also Fixes #17832
8 years ago
Peter Sprygada b0cd624aef fixes issue with run_commands raising error (#17861)
The junos run_commands() method should raise an error when an RpcError is
returned but didn't when using display=text.  This fixes that error
8 years ago
Peter Sprygada 50c445c356 switches the kickstart arg from True to False for eos (#17858)
The kickstart kwarg should be set to False for eos based devices and
was set to True.  This change cleans up problems loading json output
from cli commands

All eos_command test cases are now passing successfully

fixes #17441
8 years ago
Peter Sprygada 512ef49c8a adds new exception for adding condition statements to Conditional (#17859)
When adding condition statements, the Conditional instance will now generate
an AddConditionError if is unable to map the condition to a function in the
instance
8 years ago
Matt Davis a4e5187661 bump core submodule ref for windows async_wrapper bugfix 8 years ago
Matt Davis aa0ad073b8 bugfixes to JSON junk filter, added unit/integration tests to exercise (#17834) 8 years ago
James Cammarata 657506cddd Ensure the "attempts" key is set in the final result for do/until loops
Fixes #17258
8 years ago
Senthil Kumar Ganesan 7e0074263d Remove the dellosX_template module (#17836) 8 years ago
Matt Clay 21857e8618 Disable privileged mode on Shippable. (#17844) 8 years ago
Matt Davis 60b322e3ca bump core submodule ref for async_wrapper fixes 8 years ago
Indrajit Raychaudhuri becb4765c3 Add homebrew in squash_actions list (#16966)
`homebrew`, like other package modules in the existing `squash_actions` list can
benefit from `with_items` loops optimization.
8 years ago
Brian Coca dfff608ceb dzdo prompt fix
fixed tests
dzdo has 2 paths now, with and w/o password
fixes #17838
8 years ago
Brian Coca 6008fbd5cf fix fact gathering flag 8 years ago
Brian Coca 24e81ddd1c add ssh error message to failure 8 years ago
James Cammarata e4ee9de3f4 Fixing parentage of include_role objects for param inheritance
Fixes #17686
8 years ago
Peter Sprygada 6be2f0bded fixes unicode conversation from junos get_config() method (#17841)
The junos config should convert the returning configuration to unicode
not str.  This fixes that issue.
8 years ago
Peter Sprygada 5b4f3b1eda adds better error handling when conditional fails (#17839)
When the conditional cannot extract a value from the result string,
an unhandled exception would be raised.  This fix now gracefully handles
the exception
8 years ago
Peter Sprygada 9faf56a345 fixes issue when calling save_config() and transport is nxapi (#17835)
An unhandled exeception is raised with using nxapi transport and setting
the save argument to true.  This fix will allow the configuration to be
saved regardless of the transport.

fixes ansible/ansible-modules-core#5094
8 years ago
scottb d88025f0cb Merge pull request #17833 from resmo/docs/fix_loops
docsite: various fixes in loops doc
8 years ago
Matt Davis b427818f02 remove Windows async doc exclusion 8 years ago
Trond Hindenes 35fba5718d Bugfix: fixes new-alias bug when debugging powershell (#17816) 8 years ago
Makc c6fa701ab1 jabber callback (#16981)
* jabber callback

* delete empty lines

* grammar fix

* fix: do not print error when jabber callback disabled

* change callback version 1 -> 2
8 years ago
Chris Houseknecht e6eed3c3db Merge pull request #17818 from chouseknecht/devel
Parse role dependencies consistently
8 years ago
Rene Moser 26bc8ab47a docsite: various fixes in loops doc
- "new in version ..." did not always show up
- indentation in examples
- minor style cleanup (whitespace)
8 years ago
jctanner 8095c3951a vmware_inventory: Make the ceritifate check default, and create a config option (#17830)
Fixes #17811
8 years ago
scottb c157c47802 Merge pull request #17556 from gahan-corporation/devel
Updated grammar starting on line 166.
8 years ago
scottb db06a44b7c Merge pull request #14691 from udesilva/patch-1
Update Lookups documentation regarding a possible pitfall with password plugin
8 years ago
scottb 603f8ce91e Merge pull request #17809 from pkyeck/devel
Fix length of quickstart video mentioned in docs
8 years ago
Chris Houseknecht 8300e67cbe Use new YAML syntax in role dependencies. 8 years ago
jctanner 91adddfbca Update changelog for scp_when_ssh=smart (#17819) 8 years ago
jctanner fff161f2f6 Smart mode for sftp+scp (#17813)
If the sftp fails, roll over to scp by default. This saves users
from having to know about the scp_if_ssh method when sftp is broken
on the remote host.
8 years ago
Adrian Likins 1f03801fcc mv test_git to 'destructive' integration tests (#17526)
The test_git role removes ~/.ssh/known_hosts currently
and that is destructive.
8 years ago
Jason McKerr 11ae3793d5 Update ROADMAP_2_2.rst 8 years ago
Jason McKerr 036942680f Update ROADMAP_2_2.rst 8 years ago
Philipp Kyeck d75fa2e3be Fix length of quickstart video mentioned in docs 8 years ago
Toshio Kuratomi c5b4369ae7 Add PRIVILEGED to freebsd because testing of mount keys off of that. (#17803) 8 years ago
Toshio Kuratomi 458990084e Update submodule refs 8 years ago
Peter Sprygada c534f8f9fc fixes conditional processing with junos and xml data structures (#17801)
The conditional processing was failing due for two reasons:

1) The xml to json conversion string was not happening before the runner
   was processing the results
2) The Conditional instance was not parsing conditionals encoded with []

This fix address both issues.
8 years ago
cinerama70 fb50698da3 Graceful error handling when delegate_to host null (#17453) (#17783)
Currently, if the host specified in delegate_to for a task is null,
Ansible will crash with a stack trace. Add a check for this state
and handle the error appropriately.
8 years ago
Scott Butler 66f8fcea92 Fixes issue #17759 8 years ago
Brian Coca 3c42651fc7 fixed typo 8 years ago
Gilles Gagniard da5b0c39c9 fixes #16865 : we should properly determine connection type for delegated task first, before overriding remote user for local connections (#17723) 8 years ago
fajpunk a64266e7f5 Document `copy` module vault decryption behavior (#17777) 8 years ago
Scott Butler c917198415 Fixes issue #17795 8 years ago
Peter Sprygada 9854644431 adds overwrite kwarg to load_config in junos (#17798)
The junos load_config() method supports operations of overwrite, replace
and merge.  This adds the missing overwrite keyword arg to load_config()
so that action in junos_template can be procesed correctly.
8 years ago
Toshio Kuratomi 4452ee86bd Turn mount test back on (#17797)
* Turn mount test back on

* Mount tests need PRIVILEGED so turn that back on

Revert "Revert "Set PRIVILEGED=true for non_destructive tests. (#17733)" (#17738)"

This reverts commit dc0fb1c212.

* Add a needs_privileged tag so that we can skip mount tests on centos6

Some containers timeout on shippable tests when run with privileged.
Unfortunately, some tests require that in order to run.  Tagging those
allows us to skip those tests on the platforms that timeout when we get
ready to run the integration test in shippable.

* Centos6 times out with PRIVILEGED set so remove that (will disable the mount tests on centos6)

* Remove false start
8 years ago
Toshio Kuratomi 17c0f52c96 Update submodules refs 8 years ago
Toshio Kuratomi efa78b4ff4 The mode that we fake from stat is checked more closely under python3.5 on El Capitan (#17794)
Python2 seems to allow any integer.  Python3.5 on Linux seems to allow
a 32 bit unsigned int.  Python3.5 on El Capitan seems to limit it to
a smaller size...  perhaps a 16 bit int.
8 years ago
Toshio Kuratomi fb0ec5895a Use the play term instead of playbook.
An ansible playbook is a list of plays.  environment: applies per-play,
not per-playbook.
8 years ago
Brian Coca 368497fd14 better handling of host lists (#17781)
* better handling of host lists

fixes #17762

* corrected message

* fixed extras space
8 years ago