Peter Sprygada
2f411c9aa9
fix default REST ports for http and https in openswitch ( #15580 )
...
properly uses the right default ports for http (80) and https (443)
2016-04-25 11:42:28 -04:00
Justin Nemmers
1a49267898
Update Azure module notes ( #15229 )
...
SDK has been released, so let's say the right thing here.
2016-04-25 11:27:05 -04:00
Tegan Snyder
bf0da4aa3c
add centrify dzdo escalation ( #15219 )
...
add dzdo context, and test
2016-04-25 11:24:26 -04:00
Adam Hamsik
2424d57868
Add sas_address and sas_device_handle to ansible disk device facts ( #15201 )
2016-04-25 11:22:46 -04:00
James Cammarata
1211a0fa12
Fixing the way we iterate over child states for tasks
...
Previously we were first checking the fail/run state of the child
state for tasks/rescue/always portions of the block. Instead we are now
always recursively iterating over the child state and then evaluating
whether the child state is failed or complete before changing the failed/
run state within the current block.
Fixes #14324
2016-04-25 11:13:44 -04:00
Jorge Nerín
3a3e69f830
Fix substituting dots for underscores when using ips ( #15578 )
...
ec2.py was substituting the dots on ip addresses when not using hostnames like:
"ec2": [
"10_10_1_1",
now it's:
"ec2": [
"10.10.1.1",
2016-04-25 10:22:00 -04:00
Brian Coca
0f9eaedfa9
added missing alias to docker doc fragment
2016-04-25 10:20:59 -04:00
Toshio Kuratomi
87d2345cf5
Merge pull request #15562 from abadger/ziploader-minor
...
Quite a few individually minor changes to ziploader
2016-04-25 06:59:22 -07:00
Brian Coca
741156f8bb
added bunch of azure modules to changelog
2016-04-25 09:30:05 -04:00
Toshio Kuratomi
2e86260e17
Update Program flow documentation for new way that ziploader works
...
Add documentation on how to debug ziploader modules
2016-04-24 20:46:05 -07:00
Toshio Kuratomi
bdd73e31dc
Have test-module clean up the local temp dir when it exits
...
Get test-module's debugger switch to do something useful with ziploader modules
2016-04-24 20:44:42 -07:00
Toshio Kuratomi
3ffd55ce7f
Don't include "ansible" in the module output as there are a few files in the upper directory (args and the module)
2016-04-24 20:42:14 -07:00
Toshio Kuratomi
3c135ef3f2
Push debug files into a subdirectory to keep things cleaner.
...
We now have the ansible module directory, ansible_module_*.py script
file and the args file. Makes sense to push them all into a separate
subdir.
2016-04-24 20:42:14 -07:00
Toshio Kuratomi
e9553c975f
Add debug usage to comments in the ziploader wrapper and don't strip comments if ANSIBLE_KEEP_REMOTE_FILES=1
2016-04-24 20:42:13 -07:00
Peter Sprygada
03a77e025d
Merge pull request #15569 from privateip/local_action_junos_template
...
updates action plugin junos_template to guess file format
2016-04-24 13:13:34 -04:00
=
bd74091ed9
win_regedit integration test to cover change to allow empty strings to be compared
2016-04-24 17:24:03 +01:00
Peter Sprygada
a1a732e24d
updates action plugin junos_template to guess file format
...
This update will attempt to guess the file format based on the template
extension if the format argument isnt set. It will also set the commit
comment to the task name if the comment isnt' explicitly defined.
2016-04-24 11:41:00 -04:00
Peter Sprygada
f24f895e04
Merge pull request #15568 from ansible/revert-15553-local_action_junos_config
...
Revert "add new action plugin junos_config"
2016-04-24 11:25:18 -04:00
Peter Sprygada
ffd42118d9
Revert "add new action plugin junos_config"
2016-04-24 10:34:29 -04:00
Peter Sprygada
cea6d858bc
Merge pull request #15566 from privateip/junos
...
adds config_format to junos shared module
2016-04-24 08:57:08 -04:00
Peter Sprygada
c4bd1c5a33
Merge pull request #15553 from privateip/local_action_junos_config
...
add new action plugin junos_config
2016-04-24 08:25:30 -04:00
Peter Sprygada
c87300f9e7
adds check on config_format kwarg in junos
...
This adds a check to validate the arugment for config_format kwarg in
get_config. If the specified format is not a valid option, the shared
module will call fail_json
2016-04-24 08:20:14 -04:00
Peter Sprygada
61baf41edc
Merge pull request #5 from dgarros/pyez
...
Add options to get_config to accept format (text, set or xml)
2016-04-24 08:18:10 -04:00
Peter Sprygada
2c90472609
Merge pull request #15410 from privateip/junos
...
adds support for netconf to junos shared module
2016-04-24 06:57:18 -04:00
Chris Houseknecht
b91eeee42a
Merge pull request #15509 from chouseknecht/docker_common
...
Adding docker_common util module.
2016-04-23 22:07:51 -04:00
Toshio Kuratomi
44e21f7062
Allow AnsibleModules to be instantiated more than once in a module
...
Fix SELINUX monkeypatch in test_basic
2016-04-23 14:04:45 -07:00
chouseknecht
dc9b784432
Update per PR comments.
2016-04-23 12:47:16 -04:00
chouseknecht
8dc04770b6
Fix syntax error
2016-04-23 12:46:47 -04:00
chouseknecht
48a2165310
Adding docker_common util module.
2016-04-23 12:46:47 -04:00
Toshio Kuratomi
0f373c1767
Merge pull request #15560 from resmo/fix/docs-changelog
...
docs: add vmware_vm_shell to changelog
2016-04-23 07:33:06 -07:00
Toshio Kuratomi
d7189a442e
ziploader currently needs absolute imports to know whether to include another module
2016-04-23 07:25:21 -07:00
Yannig Perre
72f17f3ff3
New get_all_subclasses function in basic modules and use it in fact modules.
2016-04-23 07:24:26 -07:00
Yannig Perre
eb18767f91
Visit all network class not just direct sub classes.
...
Fix for https://github.com/ansible/ansible/issues/15446
2016-04-23 07:24:26 -07:00
Rene Moser
3b2720d913
docs: add vmware_vm_shell to changelog
2016-04-23 15:27:55 +02:00
Chris Houseknecht
c0e1269f53
Merge pull request #15558 from chouseknecht/azure_guide
...
Fixing inventory script ambiguity.
2016-04-22 23:45:41 -04:00
chouseknecht
86dc571d54
Fixing inventory script ambiguity.
2016-04-22 23:35:53 -04:00
Toshio Kuratomi
09605ce806
Fix facts for the FieldAttribute list change in 30a38f9
2016-04-22 16:31:53 -07:00
Matt Martz
5549292d69
Use exception as syntax in inventory, as it doesn't require py24 ( #15554 )
2016-04-22 16:34:35 -04:00
Fran Torres-Lopez
0eead1a3f6
Add example of checking registered variable for emptiness. ( #15510 )
2016-04-22 16:23:17 -04:00
Peter Sprygada
edbdf0d955
add new action plugin junos_config
...
This adds a new action plugin for junos for working with the junos configuration
file on the remote device
2016-04-22 15:48:51 -04:00
Peter Sprygada
32329b493d
adds support for netconf to junos shared module
...
Netconf support is provided using the junos-eznc library and the shared
module depends on junos-eznc to be installed on the local Ansible host. This
commit also adds changes to the netcfg library to handle receiving messages
over netconf.
To use netconf, specify transport=netconf for junos module. Be sure that
netconf has been enabled on the remote device.
2016-04-22 15:28:53 -04:00
Brian Coca
6a983b0fc4
fixed misspelled var
2016-04-22 15:19:44 -04:00
Chris Houseknecht
221b1c9fd0
Refactored docker inventory. ( #15485 )
2016-04-22 15:19:12 -04:00
jctanner
4d36b3f7b6
Extend the get_url integration tests to include file schemas. ( #15532 )
...
Addresses https://github.com/ansible/ansible-modules-core/issues/3511
2016-04-22 11:38:03 -07:00
James Cammarata
30a38f94ce
Create a special class of list FieldAttribute for splitting on commas
...
Which we're use on a case-by-case basis if we find people were actually
using comma-separated strings for list values outside of hosts. Support
for doing so is now deprecated and users should instead use the full
YAML syntax for lists of values.
Fixes #15291
2016-04-22 14:21:14 -04:00
Toshio Kuratomi
fcd6d7010d
Fixup perms dont rely on privileged user named root ( #15482 )
...
* Don't rely on username to check for root privileges
The SSH username isn't a reliable way to check if we've got root privileges on
the remote system (think "toor" on FreeBSD). Because of this check, Ansible
previously tried to use the fallback solutions for granting file access (ACLs,
world-readable files) even on systems where it had root privileges when the
remote username didn't match the literal string "root".
Instead of running checks on the username, just try using `chmod` in any case
and fall back to the previous "non-root" solution when that fails.
* Fail if we are root and changing ownership failed
Since this code is security sensitive we document exactly the expected
permissions of the temporary files once this function has run. That way
if a flaw is found in one end-result we know more precisely what scenarios
are affected and which are not.
2016-04-22 08:40:34 -07:00
Toshio Kuratomi
e893b65a9b
Don't pick up whole commented lines in the urlopen code-smell tests
2016-04-22 08:24:56 -07:00
Chris Houseknecht
2b7f4395d6
Allow to work with latest Azure Python SDK ( #15467 )
...
* Allow to work with latest Azure Python SDK
* Fixed so that errors are sent to stderr
2016-04-21 23:18:45 -04:00
jctanner
76f73dc81f
Change the raw module's detection of environment settings. ( #15535 )
...
The task_vars datastructure always contains an environment key,
so use the _task.environment property to look for a non-empty
list instead.
2016-04-21 22:58:07 -04:00
Chris Houseknecht
a6e83599d6
Merge pull request #15536 from chouseknecht/azure_common
...
Set the name of the user_agent in each mangement client.
2016-04-21 18:26:54 -04:00