Peter Sprygada
905d71d46a
fix eos terminal plugin to recognize ospf error message ( #32039 )
...
The eos terminal plugin did not correctly catch the error message
returned with trying to configure more than one ospf instance. This
change updates the terminal plugin to catch that scenario
2017-10-23 17:27:58 -04:00
Jordan Borean
b004a6373a
windows: add #AnsibleRequires for Windows modules ( #31683 )
...
* windows: add #AnsibleRequires to set whether a module requires module or a specific version
* fix up pep8 issues
* changed psversion to use the actual ps Requires -Version syntax
* missed the check on #Requires -Version
* fix #Requires module extensions
2017-10-23 14:21:30 -07:00
Martin Krizek
4bd16216fe
ini inventory: document value parsing workaround
...
Fixes #31656
2017-10-23 09:56:49 -07:00
Charles Tolley
531d6c50bf
Added regex to recognize prompt ( #31947 )
2017-10-23 19:34:10 +05:30
James Mighion
6693cc3f5a
Using shorthand for disabling paging to avoid the syntax difference between versions. ( #31942 )
...
Fixes #31855
2017-10-23 10:15:30 +02:00
Brian Coca
fd574c069e
remove fixme from docs
2017-10-20 09:59:23 -04:00
James Mighion
bb4b98a82e
Adds regex for stdout needed for changing root password and regex for stderr catching problems with the password. ( #31955 )
2017-10-19 16:52:14 -07:00
Brian Coca
2ffe3c42bb
fixed caches ( #30667 )
2017-10-19 14:23:22 -04:00
Jerry Chong
567e989581
Fix exception upon display.warn() ( #31876 )
...
Fixes #31875
2017-10-18 13:04:59 +02:00
paulquack
5a6ee054c0
Network command module for Brocade IronWare routers ( #31429 )
2017-10-17 13:54:32 +01:00
Brian Coca
21cdddce74
correctly deal with changed ( #31812 )
2017-10-17 11:44:17 +10:00
Chris Meyers
cf938e9992
tests for InventoryModule error conditions ( #31381 )
...
* tests for InventoryModule error conditions
* modified unicode in tests to ahear to Ansible best practices
* flake8 fixes
2017-10-16 18:52:44 -04:00
Brian Coca
01b6c7c9c6
better cleanup on task results display ( #27175 )
...
* better cleanup on task results display
callbacks get 'clean' copy of result objects
moved cleanup into result object itself
removed now redundant callback cleanup
moved no_log tests
* moved import as per feedback
2017-10-16 09:44:11 -04:00
Marat Bakeev
f84b5b6059
Update ssm lookup to support getting parameters by path ( #31752 )
2017-10-16 10:31:57 +10:00
Ganesh Nalawade
89428a40b3
Validate parse_cli filter inputs ( #31293 )
...
* Validate parse_cli filter inputs
Fixes #30517
* Add check to validate input is of type string
* Add check to confirm template file exist
* Update error message for parse_cli_textfsm invalid template path
* Add input validation for parse_cli_textfsm filter
2017-10-13 21:26:24 +05:30
Ryan Brown
e0c2b6bbb4
Rename ssm_parameter_store module and ssm lookup to be prefixed with aws ( #31662 )
2017-10-13 13:52:10 +10:00
James Mighion
50052b3d70
Adding a cli transport option for the bigip_command module. ( #30391 )
...
* Adding a cli transport option for the bigip_command module.
* Fixing keyerror when using other f5 modules. Adding version_added for new option in bigip_command.
* Removing local connection check because the F5 tasks can be delegated to any host that has the libraries for REST.
* Using the network_common load_provider.
* Adding unit test to cover cli transport and updating previous unit test to ensure cli was not called.
2017-10-12 15:07:15 -07:00
Brian Coca
1bf09a7d84
warn on bad keys in group
2017-10-12 12:02:11 -04:00
Mihai Moldovanu
79f2cfbcf9
etcd.py module improved . added posibility to configure from playbook… ( #18580 )
...
* etcd.py module improved . added posibility to configure from playbook etcd server to query
* Update playbooks_lookups.rst
documented etcd lookups
* Update playbooks_lookups.rst
* Update playbooks_lookups.rst
* Update playbooks_lookups.rst
* Update playbooks_lookups.rst
* Update playbooks_lookups.rst
* Fixed errors reported by ansibot
* Update playbooks_lookups.rst
* Update playbooks_lookups.rst
* Copy edits.
2017-10-12 15:55:59 +01:00
Brian Coca
b68fe2cd23
highlight dynamic parts of error msg
2017-10-12 10:00:06 -04:00
Anil Kumar Muraleedharan
ead00e9cae
create terminal plugin for enos modules ( #31510 )
2017-10-12 13:32:27 +01:00
Anil Kumar Muraleedharan
fa9421ef98
create cliconf plugin for enos - enos.py ( #31509 )
2017-10-12 13:31:57 +01:00
Anil Kumar Muraleedharan
34cc563727
Create action file enos.py ( #31508 )
...
* Create action file enos_facts.py
* Update and rename enos_facts.py to enos.py
* Taking chances on Dealing with Unstable issues
* Removing blank space/ white line
2017-10-12 13:31:23 +01:00
Jordan Borean
7fce636c2b
windows: removed #Requires from PS pipelines as it causes STDERR false positives ( #31558 )
2017-10-11 14:16:58 -07:00
Brian Coca
2ed46e04f4
more updates to plugin/config generation ( #30787 )
...
* fixed module generation
added missing lookup page
point to plugins when plugins
made modules singular
add display for verbose an debug messages
nicer templating, changed generation order for ref
corrected links
moved most of lookup docs to plugin section
* Copy edits
* Fixed typos
* Clarified wording
2017-10-11 00:15:25 -04:00
Matt Davis
a4ceb4c35f
improve become/runas error messaging on bogus/missing username ( #31551 )
2017-10-10 16:53:21 -07:00
François Scala
aade5234a9
Fix urlparse import for Python3 ( #31240 )
...
* Fix urlparse import for Python3 in
* contrib/inventory/consul_io.py
* contrib/inventory/rudder.py
* contrib/inventory/windows_azure.py
* lib/ansible/module_utils/known_hosts.py
* lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py
* lib/ansible/modules/cloud/docker/_docker.py
* lib/ansible/modules/cloud/ovirt/ovirt_disk.py
* lib/ansible/plugins/action/ce_template.py
2017-10-09 20:18:09 -07:00
Jordan Borean
82fa922491
win_become: Added support to become a service user ( #30407 )
...
* win_become: Added support to become a service user
* fixes for linting
* changes to get local and network service working
* fixed linting issues again
* pleasing pepe
2017-10-09 17:58:29 -07:00
Brian Coca
4e22677e7d
revert namespaced facts changes to package/service
...
fixes #31485
2017-10-09 16:31:58 -07:00
Bill Wang
91a36faddb
New module: Add module for Amazon Systems Manager Parameter Store (cloud/amazon/ssm_parameter_store) ( #23460 )
...
- new module: ssm_parameter_store
- new lookup: ssm
* lookup module ssm - adjust error message
* Pacify pylint erroring on botocore not found
* adjust to version 2.5
2017-10-10 09:04:40 +10:00
Jordan Borean
f2bc89a880
win_copy: added decrypt option ( #31291 )
2017-10-10 08:21:25 +10:00
Brian Coca
e4c61ea9a1
fix 'return false' from parse
...
this was abandoned early on the manger side but seems like we left behind on plugin side.
more flexible extensions with yaml plugin
validate data correctly for yaml/constructed
fixed issue with only adding one child to keyed, the group only got the host that forced it's creation
fixes #31382
fixes #31365
2017-10-06 13:25:06 -04:00
Brian Coca
f2ade09dce
use configured ansible_shell_executable
...
refine args/shell/executable hanlding
2017-10-06 08:56:21 -04:00
Jordan Borean
c4b51009f0
win_copy: allow src to have invalid windows chars ( #31392 )
...
* win_copy: allow src to have invalid windows chars
* create file with colon instead of avoid checkout errors
2017-10-06 15:23:37 +10:00
Ganesh Nalawade
2e4dcc9dda
Fix nxos terminal regex to parse xml response ( #31283 )
...
Fixes #26130
Modify nxos terminal regex to parse a xml response.
2017-10-05 15:32:43 +05:30
Brian Coca
8aa33419c9
check type to avoid typeerror tb
...
fixes #31290 by giving more meaningful message
2017-10-04 15:14:10 -04:00
Brian Coca
46621a3ddd
updated constructed docs to clarify use of ext
2017-10-04 08:44:45 -04:00
Jordan Borean
e61c2799ff
win_become: move error handling to Ansible outside of shell ( #31227 )
...
* win_become: move error handling to Ansible outside of shell
* trimmed the output so double newlines don't get set
* added test for non-zero exit code
* missed issue URL on test
* changed exit to SetShouldExit
2017-10-03 21:42:27 -04:00
Jordan Borean
bba941cd5b
win_copy: fix for copying encrypted file without pass ( #31084 )
...
* win_copy: fix for copying encrypted file without pass
* fix pep8 issue
* reduced the diff and fixed some minor issues
2017-10-03 12:51:57 -07:00
Adrian Likins
dae0ad1ce6
Fix flush_cache on redis cache
...
Fix a del on non existent self.cache.
Fixes #31148
2017-10-03 12:54:26 -04:00
Brian Coca
101377768b
remove unused ssh pipelining setters
...
fixes #31125
2017-10-03 09:22:01 -04:00
Abhishek Shukla
d0c003ab0f
BugFix code breaks, if include_vars dir is file instead of directory ( #31157 )
2017-10-03 00:00:51 -04:00
Julien Palard
5802ec04bf
yaml inventory: Better error reporting on typo. fixes ( #31118 )
2017-10-02 09:22:21 -04:00
Brian Coca
ac9278ff0f
remove action plugin only fields from 'file' calls ( #31047 )
...
* remove action plugin only fields from 'file' calls
fixes #30556
* Add a test for #30556
2017-09-29 17:13:32 -07:00
Brian Coca
43cbcbcc75
removed typo from dig docs
2017-09-29 11:23:58 -04:00
Brian Coca
057eec94ee
fixed winrm to use proper task vars ( #31072 )
...
it avoids hitting hostvars templating issue and ignoring exception
fixes #30911
also normal var precedence should work for ansible_winrm vars
2017-09-29 11:12:56 +10:00
Ganesh Nalawade
97858d91ac
Add alias to command option in telnet ( #30825 )
...
* Add commands alias to telnet option
2017-09-28 18:07:37 +05:30
James Mighion
2837200aea
Adding new stdout regex to allow local password changes. Adding stderr regex to catch more errors. ( #30994 )
2017-09-28 10:05:14 +05:30
Brian Coca
54d7c384b6
clarified dig module uses dnspython
2017-09-27 20:59:03 -04:00
Brian Coca
bb874e5029
fixed lookup dig docs
2017-09-27 20:05:21 -04:00