Sebastien Lacoste-Seris
77596951b8
Update vca_vapp.py ( #19562 )
...
Check result of vApp creation and return module failure if creation task not present
2017-02-21 09:00:07 -05:00
Roman Belyakovsky
aa6585942e
Fix for crash on missing privileges, closes #21051 ( #21518 )
2017-02-21 08:53:40 -05:00
Loïc Blot
d144cf9c27
vmware_inventory: permit to skip nopermission error on host subkeys (notify user in debug mode) ( #21663 )
...
example use case: you have rights on guest but you cannot see the VMWare host
Signed-off-by: nerzhul <loic.blot@unix-experience.fr>
2017-02-21 08:51:23 -05:00
Ricardo Carrillo Cruz
6622b05326
Fix memory ios facts ( #21696 )
...
In order to populate the total and free mem of an IOS device, we run
the 'show memory statistics' command.
The output shows something similar to:
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor BEAE880 335215488 64044364 271171124 268918092 268463852
I/O 8DAE880 51380224 41880736 9499488 9461552 9352252
We need to just parse the line containing 'Processor' and get the first and third
number for total and free mem, instaed for first and second as the code wrongly
does.
2017-02-21 14:38:35 +01:00
Paulo Matias
46fee994d1
os_subnet: add support for using the default subnetpool ( #20191 )
...
Allows to pass use_default_subnetpool instead of a cidr. This is
required when adding an IPv6 subnet if BGP or prefix delegation is
enabled.
2017-02-21 14:27:59 +01:00
Peter Sprygada
2567e8157f
fixes bug where handle_prompts failed if list of prompts provided ( #21711 )
...
This will now automatically convert the prompts to a list and iterate
over the regexp looking for a prompt match before supplying the answer.
2017-02-21 08:27:33 -05:00
Tim Rupp
96bdb01888
Adds the txcontent manager import for bigip ( #21700 )
...
as it is used by some modules and it should be part
of the regular imports
2017-02-21 10:39:54 +00:00
Dag Wieers
b0c6ebf3fc
win_shortcut: Clean up parameter handling ( #21378 )
...
* win_shortcut: Clean up parameter handling
Minor changes.
* Implemented -WhatIf:$check_mode support
2017-02-21 10:25:45 +00:00
Dag Wieers
b0fdb6ac10
win_timezone: Clean up and check-mode support ( #21387 )
...
Changes include:
- Use Get-AnsibleParam with -type support
- Replace $result PSObject with normal hash
- Add check-mode support
2017-02-21 06:01:09 +00:00
Ivan Bojer
21ed43e38a
panos module to activate FW licenisng using authentication code ( #20154 )
2017-02-20 22:23:21 -05:00
Ivan Bojer
dafeb42c2d
Panos interface ( #20659 )
...
* new module to manage DP interfaces
* - copyright change for the new module
* doc changes as requested
2017-02-20 22:22:22 -05:00
Barry Peddycord III
d1efc8e19e
New Networking Module: NCLU ( #21101 )
...
* Adding Cumulus NCLU module
* Delete incorrect testing folder
* wrong import location for nclu test
* another wrong import location for nclu test
* unittest library doesn't support 'skip', removing 'real' nclu tests
* Don't need stringio since I'm not doing real tests
* got rid of unnecessary shebang in test_nclu
* version set to 1.0
* Documentation fixes
2017-02-20 22:21:34 -05:00
Tadej Janež
1bdffbd7ea
Pass TEST_FLAGS environment variable to tests run with Tox ( #21611 )
...
This allows customizing test runs when using Tox.
2017-02-20 15:24:39 -08:00
Matt Clay
bc8186543a
Pass base branch to module validator on delegate.
2017-02-20 14:28:11 -08:00
Matt Martz
c160ede789
Validate modules json output ( #21680 )
2017-02-20 13:28:23 -08:00
Peter Sprygada
e4a2c804be
partial revert of changes introduced in d5f7a0181b
( #21688 )
2017-02-20 15:37:14 -05:00
Alex Trevino
0d060a185f
Allow ec2.py to be imported ( #21637 )
2017-02-20 15:19:05 -05:00
Wayne Witzel III
4632b65086
add Ansible Tower role module ( #21592 )
...
* add Ansible Tower role module
* remove owner as choice from role paramenter
2017-02-20 15:18:43 -05:00
Wayne Witzel III
96772719ba
add Tower JobTemplate module ( #21681 )
...
* add Tower JobTemplate module
* add host_config_key and remove defaults from required parameters
2017-02-20 15:18:04 -05:00
Wayne Witzel III
a59c4d558d
add Ansible Tower team module ( #21593 )
2017-02-20 15:16:32 -05:00
Matt Clay
3f91e3531a
Fix py3 issue in nagios_livestatus inv script. ( #21687 )
...
* Fix py3 issue in nagios_livestatus inv script.
* Fix PEP 8 issues.
2017-02-20 11:52:47 -08:00
Yannig
5d0805b25a
Add Nagios livestatus inventory plugin. ( #12342 )
...
* Add Nagios livestatus inventory plugin.
* Add new capabilities for the nagios_livestatus inventory:
- host_field: set the name returned (default: 'name')
- group_field: set the field used for group (default: 'groups')
- host_filter: filter host using this filter (default: None)
To be more consistent, prefix was renamed into var_prefix.
* Fix py34 runtests errors against print call.
2017-02-20 13:44:07 -05:00
rafstef
8acb6417cb
[cloud][inventory] Let ec2.py be renamed and search for a matching .ini file ( #21567 )
...
With this proposed PR, we want to make the use of many ec2 dynamic inventory files more flexible.
We are using multiple AWS accounts. We want to use different ini file (one for every account) and only one ec2.py.
2017-02-20 13:38:41 -05:00
Brian Coca
e4022906d3
manually integrated from PR #10350
2017-02-20 13:36:58 -05:00
Sloane Hertel
26b10eb160
[modules] Fix bad usages of traceback.format_exc()
; doesn't take an error parameter ( #21678 )
2017-02-20 13:27:39 -05:00
Damien
d9e4248c35
Add doc link to aos_login module ( #21684 )
2017-02-20 18:15:40 +00:00
Dag Wieers
00668b1544
win_webpicmd: Clean up parameter handling ( #21376 )
...
Changes include:
- Use of Get-AnsibleParam and parameter types
- Replace $result PSObject with normal hash
2017-02-20 17:28:25 +00:00
Adrian Likins
d44c80280e
Fix vault cli errors on 'encrypt_string_read_stdin' ( #21675 )
...
'encrypt_string' only options were being referenced when using
other vault subcommands. That code is moved inside a check
for 'encrypt_string' action now.
2017-02-20 11:38:41 -05:00
Tim Rupp
f37bc92924
Adds required_one_of to f5 utils class ( #21650 )
2017-02-20 16:01:31 +00:00
Marc Abramowitz
e2e4a69425
hashi_vault: Get token from env var or file
...
This allows getting the Vault token from the `VAULT_TOKEN` env var or
from the file `$HOME/.vault-token`, as both of these are understood by
the Vault CLI and are a common place to put Vault tokens. This allows
avoiding hard-coding a Vault token into playbooks or having to include
lookups.
`HOME/.vault-token` is nice because a user can authenticate with the CLI
using `vault auth` and then the token will be stored in
`$HOME/.vault-token`. If we read this file, then we allow someone to do
`vault auth` "out of band" to set up Vault access.
2017-02-20 10:10:22 -05:00
Dag Wieers
aae1a00d7e
win_say: Clean up and check-mode support
...
Changes include:
- Clean up parameter handling
- Replace $result PSObject with a hash
- Added check-mode support
2017-02-20 10:02:11 -05:00
René Moser
576ff0728d
service: deprecate state=running ( #21499 )
...
* service: deprecate state=running
* deprecated with version 2.7
2017-02-20 09:34:52 -05:00
Jordan Borean
a80251ff02
Added win_region module ( #19147 )
2017-02-20 11:50:27 +00:00
Dag Wieers
1cc9e9f2a1
Clean up windows setup module ( #21343 )
...
The following items were implemented:
- Replace PSObject with normal hash
- Replace Set-Attr function with normal hash assignment
- Re-indent code (make sure everything uses 4 spaces)
- Remove trailing semi-colons
2017-02-20 11:49:52 +00:00
Dag Wieers
3c45c93d10
win_reg_stat: Clean up parameter handling ( #21380 )
2017-02-20 11:49:36 +00:00
Dag Wieers
958cbae7ba
win_tempfile: New module implementing tempfile on Windows ( #21623 )
...
This module implements the **tempfile** module for Windows.
2017-02-20 11:48:55 +00:00
Aliaksandr Kharkevich
7bc7f13856
Add validate_certs options to gitlab_user and gitlab_group modules ( #21415 )
2017-02-20 10:43:36 +01:00
Peter Sprygada
bd036c15e0
minor fixes to junos action ( #21643 )
...
* adds instrumentation messages
* checks cli context is not in config mode
2017-02-19 18:04:00 -05:00
Peter Sprygada
ce9180b3a1
roll up of vyos action fixes ( #21642 )
...
* check cli context is not in config mode
* add display messages for more details
2017-02-19 17:37:16 -05:00
Peter Sprygada
8472ed640b
fixes minor bugs in nxos action ( #21641 )
...
* checks cli context is correct
* adds display messages
2017-02-19 17:13:14 -05:00
Peter Sprygada
c06b10eedd
fix play_context connection_user attribute ( #21640 )
...
The connection user needs to be set from the original play_context and
not the copy. This fixes that problem
2017-02-19 17:11:48 -05:00
David Norman
9b166f6f29
Grammar and spelling on win_iis_webapplication. ( #21618 )
2017-02-19 18:01:58 +00:00
Peter Sprygada
d5f7a0181b
roll up of eos fixes ( #21629 )
...
* fixes error where eos would close the cli shell
* fixes network_cli connection plugin to check before calling open_shell()
* fixes json commands being sent over eapi
2017-02-19 08:46:14 -05:00
Peter Sprygada
76c9ad9dfc
new module nxos_system ( #21627 )
...
* provides declarative config support for nxos system attributes
* adds unit test cases for new module
2017-02-18 18:56:02 -05:00
Peter Sprygada
2f10bdf0c7
roll up of fixes in junos action plugin ( #21624 )
...
* calls open_shell() or open_session() depending on connection type
* closes shell after module completion
* adds open_session() to netconf
2017-02-18 17:20:03 -05:00
Brian Coca
c68d81fe4f
added check_ps common function
2017-02-18 13:06:09 -05:00
Peter Sprygada
920f9f4815
fixes nxos nxapi implementation ( #21615 )
...
* correctly maps play_context to nxapi values
* fixes bug in nxos_nxapi module detecting nxapi feature
* updates nxos shared lib provider values
* fixes missing ssh_keyfile in nxos shared lib
2017-02-18 11:20:26 -05:00
Trond Hindenes
eb6956e1dd
win_nssm improvements ( #21290 )
...
* win_nssm improvements
* updated version_added
2017-02-18 15:19:12 +00:00
Peter Sprygada
912877c3dd
adds no_log to provider arg in iosxr shared lib ( #21617 )
2017-02-18 09:29:29 -05:00
Peter Sprygada
c875393916
roll up of fixes for vyos base ( #21616 )
...
* adds ssh_keyfile to vyos
* fixes play_context mapping to provider
* adds missing network_os to play_context
* executes close_shell() after module completes
2017-02-18 09:29:17 -05:00