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
Peter Sprygada
e6dfbf63f6
fixes eos action mapping of play_context values ( #21614 )
...
* adds mapping for ssh_keyfile
* adds correct mappings for eapi
* fixes missing no_log value for provider arg
2017-02-18 09:29:06 -05:00
Peter Sprygada
e05b2b56f2
capture AnsibleConnectionFailure messages in ansible-connection ( #21612 )
...
Send the messages to the log file
2017-02-18 08:12:01 -05:00
David PHAM-VAN
6a0fb4e3b6
Remove useless # in comment ( #21609 )
2017-02-18 11:43:04 +00:00
Tim Rupp
ff2affd11a
Fixes name ( #21610 )
...
The named implied the reverse of how I was actually creating the
dictionary, so correct that.
2017-02-18 08:06:21 +00:00
Damien
4d4fdb3500
inventory/apstra_aos - Add a new output format when a blueprint name is provided ( #21434 )
...
* Add a new output format when a blueprint name is provided
* Add author name
2017-02-17 20:26:53 -05:00
Damien
b607a7b78a
New Module : aos_logical_device_map as part of network/aos ( #21277 )
...
* Initial version of aos_logical_device_map
* Update doc and fix typo
2017-02-17 20:26:38 -05:00
Damien
615df814f1
New Module : aos_logical_device as part of network/aos ( #21226 )
...
* Add new module aos_logical_device
* Add hard stop to documentation
* Removed required false from documentation
* Add comment before sleep
* Replace IP Pool by Logical Device in the doc
2017-02-17 20:26:21 -05:00
Damien
32e6341f4e
New Module : aos_template as part of network/aos (clean) ( #21222 )
...
* Add module aos_template
* Add full stop to documentation
* Removed required: false in documentation
* Add comment for sleep
2017-02-17 20:25:57 -05:00
Damien
f9fcffb134
New Module : aos_external_router as part of network/aos (clean) ( #21221 )
...
* Add module aos_external_router
* Add hard stop to documentation
* Removed required false from doc
* Add documentation for ASN and loopback
2017-02-17 20:25:42 -05:00
Damien
d930f5f7b1
New Module : aos_login as part of network/aos (clean) ( #21220 )
...
* Add module aos_login
* Cleanup documentation and add hard stop
* Add default value in doc for port and remove required: false
* Fix typo in doc for check mode
2017-02-17 20:25:27 -05:00
Damien
c23d699c49
New Module : aos_asn_pool as part of network/aos (clean) ( #21224 )
...
* Add module aos_asn_pool
* Add hard stop to documentation
* Remove required: false from doc
* Add pool name in error message when in_use
Change Asn for ASN
* Change the documentation for content
2017-02-17 20:24:43 -05:00
Damien
5084bf474b
New Module : aos_blueprint as part of network/aos ( #21278 )
...
* Initial release of aos_blueprint
* Cleanup documentation based on review comments
* Change if else to be python 2.4 compatible
2017-02-17 20:24:08 -05:00
Damien
d0e907e661
New Module : aos_device as part of network/aos ( #21276 )
...
* Initial version of aos_device
* Clean up documentation
* Move try/except closer to device.approve
* Remove non valid characters
* Change option approve to type bool and fix some typo
2017-02-17 20:23:13 -05:00
Damien
aff83940e2
New Module : aos_blueprint_param as part of network/aos ( #21352 )
...
* Add initial version of aos_blueprint_param
* Add a missing hard stop in doc
* Remove type: bool from description
2017-02-17 20:22:55 -05:00
Damien
ebd9eca9e1
Initial version of Rack Type ( #21372 )
2017-02-17 20:22:41 -05:00
Damien
0200e4fcb9
New Module : aos_blueprint_virtnet as part of network/aos ( #21432 )
...
* Initial version of aos_blueprint_virtnet
* Fix indentation in EXAMPLES
2017-02-17 20:22:16 -05:00
Matt Martz
9b1bd2eb7e
Re-enable module comparisons in validate-modules ( #21582 )
...
* Re-enable module comparisons, specifically for new module detection and for finding new options/arguments
* Only do new module checks in shippable, local will display warning
2017-02-17 15:13:18 -08:00
Brian Coca
b3b76826e5
Revert "allow device to be list for multidev fs"
2017-02-17 17:31:08 -05:00
Brian Coca
ee17b91455
Revert "add systemd-nspawn connection driver"
...
This reverts commit 3597ca082b
.
2017-02-17 16:36:46 -05:00
Brian Coca
b14c4b9f6e
Revert "Add a config section for systemd-nspawn driver"
...
This reverts commit 1fc7211181
.
2017-02-17 16:35:47 -05:00
Brian Coca
e84713c76c
Revert "Remove the --nspawn-extra-args cli option"
...
This reverts commit b8125ac1a6
.
2017-02-17 16:35:47 -05:00
Brian Coca
2d2874fb3c
Revert "Add safety checks to nspawn connection plugin"
...
This reverts commit 60bb677154
.
this connection cannot work as is, systemd-nspawn creates instance on each command
2017-02-17 16:35:47 -05:00
Toshio Kuratomi
275be702a8
Switch from using inspect to globals()
2017-02-17 12:57:26 -08:00
Monty Taylor
9bf33e56dd
Move availability_zone docs to each OpenStack module ( #21540 )
...
* Move availability_zone docs to each OpenStack module
This argument is in the central list for hysterical raisins (mostly me
being a doofus) but is used in almost none of them. Document it
explicitly in each module to stop the confusion.
* Fix two docs formatting bugs
2017-02-17 21:49:03 +01:00
Matt Clay
1ce2ea0b6c
Fix ansible-test handling of deleted test targets.
2017-02-17 11:16:24 -08:00
Peter Sprygada
8716a5bc67
maps ios provider ssh_keyfile to play_context ( #21597 )
...
This allows the key file to be specified in the playbook for the ios
module provider argument
2017-02-17 18:56:00 +00:00
Thomas Szymanski
60bb677154
Add safety checks to nspawn connection plugin
...
This patch adds some checks on the path that is accessed as a container,
making sure it looks like one. It implements the connection method and
add adaptations to the modern way of writing connections for Ansible.
It also rewords docs and vars to use the nspawn terminology instead of
chroot.
2017-02-17 12:39:48 -05:00