Commit graph

14803 commits

Author SHA1 Message Date
Benno Joy
be81b650e8 fixes issue 11286 where role handlers are not run 2015-06-21 00:36:37 -04:00
Benno Joy
6e61881e80 Merge pull request #11329 from joshainglis/doc-fix
Fixed shebang in module example
2015-06-20 15:02:47 +05:30
James Cammarata
fc5be30c2f Change the use of a mutable arg for a default value for locals 2015-06-19 23:04:35 -04:00
James Cammarata
0d92599d18 Make exception printing a bit smarter 2015-06-19 22:59:12 -04:00
Toshio Kuratomi
a77b58e351 Bumpt the BUFSIZE to 64k for better performance 2015-06-19 11:52:06 -07:00
Toshio Kuratomi
0777d02505 Fix problem with jail and zone connection plugins and symlinks from within the jail/zone. 2015-06-19 11:09:48 -07:00
Toshio Kuratomi
ca2f2c4ebd Fix problem with jail and zone connection plugins and symlinks from within the jail/zone. 2015-06-19 09:41:48 -07:00
Toshio Kuratomi
f0777d9c4e Update submodule refs 2015-06-19 09:08:57 -07:00
James Cammarata
18a9eff11f Properly use local variables from templates including other templates
Fixes #6653
2015-06-18 16:10:21 -04:00
Brian Coca
bbcd172eb3 Merge pull request #11319 from sivel/asg-tests
Add tests for rax_scaling_group
2015-06-18 15:43:43 -04:00
James Cammarata
c0dfa8d512 Make sure task names are templated before callbacks are sent 2015-06-18 14:27:20 -04:00
Matt Martz
b370f6efce Add tests for rax_scaling_group 2015-06-18 13:08:35 -05:00
James Cammarata
98fee172ee Fix bug in async action plugin 2015-06-18 13:49:34 -04:00
Brian Coca
b41b08ba7d Merge pull request #11306 from rhcarvalho/patch-1
Fix docs typo
2015-06-18 11:49:23 -04:00
James Cammarata
270eb4274c Make sure we safe_eval booleans too
Fixes #5779
2015-06-18 11:12:46 -04:00
Brian Coca
4d5a98d8d9 Merge pull request #11307 from dagwieers/patch-6
Change syslog (priority) level from LOG_NOTICE to LOG_INFO
2015-06-18 10:29:16 -04:00
Brian Coca
7bb2a7aa87 actually no password to handle, this should return false 2015-06-18 10:23:37 -04:00
Brian Coca
87a0ccc354 fixed typo 2015-06-18 10:12:04 -04:00
Brian Coca
aede9f08db fixed case in which prompt was None 2015-06-18 10:05:23 -04:00
Dag Wieers
4ca4d36ae6 Change syslog (priority) level from LOG_NOTICE to LOG_INFO
If you look at the meaning of the different syslog levels, NOTICE means that the event may need someone to look at it. Whereas INFO is pure informational.

Since module invocations are in fact requested (deliberate) actions, they shouldn't need any additional post-processing, and therefore should not be logged as NOTICE.

This may seem like hairsplitting, but correctly categorizing system events helps weeding through the noise downhill.

According to Wikipedia: https://en.wikipedia.org/wiki/Syslog

5 	Notice 		notice 	Events that are unusual but not error conditions .
6 	Informational 	info 		Normal operational messages -no action required. Example an application has started, paused or ended successfully.
2015-06-18 11:00:10 +02:00
Rodolfo Carvalho
fdc06c134a Fix docs typo 2015-06-18 09:03:42 +02:00
Brian Coca
7c65f3ddd7 partial become support for local connection plugin 2015-06-18 01:46:43 -04:00
Brian Coca
671118ba71 fixed become password handling with paramiko 2015-06-17 23:31:55 -04:00
Brian Coca
744ec2bbad put hostkey locking into function (still needs fixing)
implemneted become handling here, cannot generalize well enough in base class
2015-06-17 23:31:54 -04:00
Brian Coca
d6672ad285 removed unused import 2015-06-17 23:31:54 -04:00
Brian Coca
5cfd0f82a0 moved away from generic function for become 2015-06-17 23:31:54 -04:00
Brian Coca
3fab516d3d fixed detection of incorrect password 2015-06-17 23:31:54 -04:00
Brian Coca
c745796707 added hall notification module to changelog 2015-06-17 23:31:54 -04:00
Brian Coca
f74f0e76f0 added dpkg_selections to changelog 2015-06-17 23:31:54 -04:00
Brian Coca
08f62b6e13 added vsphere copy 2015-06-17 23:31:54 -04:00
Brian Coca
faed1b2d05 better error reporting when doc parsing fails 2015-06-17 23:31:54 -04:00
Brian Coca
b27d762081 addeed osx_defaults to changelog 2015-06-17 23:31:54 -04:00
Brian Coca
a0f1d81ada added several openstack modules to changelog 2015-06-17 23:31:54 -04:00
James Cammarata
87ca475704 Exclude the all/ungrouped groups from pattern matching results
Fixes #5375
2015-06-17 16:25:58 -04:00
James Cammarata
90445ee67d Add ::1 where we see 127.0.0.1, for better ipv6 support
Fixes #5764
2015-06-17 16:03:19 -04:00
James Cammarata
c3c398cffe Cleaning up some task failure detection problems
* fixed a bug in which failures from a with_* loop were not being
  caught correctly, leading to tasks continuing when they should stop
* when ignore_errors is enabled, the failure will no longer count
  towards the number of failed tasks
2015-06-17 15:40:04 -04:00
Brian Coca
5bbbec9b61 Merge pull request #11301 from msabramo/include_inventory_file_in_unable_to_find_inventory_file_error_msg
Add inventory file to "Unable to find" error msg
2015-06-17 14:04:17 -04:00
Marc Abramowitz
a385744426 Add inventory file to "Unable to find" error msg
E.g.:

    $ ansible gabriel -m ping -i ssh_config.py
    ERROR! Unable to find an inventory file (ssh_config.py), specify one with -i ?
2015-06-17 11:00:13 -07:00
Brian Coca
2ad8e7c9b3 Merge pull request #11300 from aioue/devel
add simple prefix filtering to vmware inventory
2015-06-17 13:47:42 -04:00
Tom Paine
410285ecd6 add simple prefix filtering to vmware inventory
Significantly speeds up inventory collection on systems with many
excluded machines.
2015-06-17 18:41:54 +01:00
Brian Coca
0c27315648 Merge pull request #11299 from rncry/patch-2
support instances with no public ip
2015-06-17 12:47:19 -04:00
James Cammarata
daa319881f Make sure registered variable message is sent before other messages
Avoids a race condition where previously the registered variable message
was being sent after the 'host_task_ok' message, meaning the next task
may be started before the var is registered, leading to an undefined
variable error
2015-06-17 12:42:47 -04:00
rncry
16f66a39a6 support instances with no public ip
default to private ip if the instance doesn't have a public ip assigned. (causes list index out of range error otherwise)
2015-06-17 17:22:28 +01:00
Brian Coca
8cfec0a27a Merge pull request #11297 from msabramo/serf_plugin_use_env_vars
Simplify serf inventory plugin
2015-06-17 11:31:57 -04:00
Brian Coca
194b85338f Merge pull request #11298 from bennojoy/fix_11296
fixes 11296 where the groups does not have all the groups
2015-06-17 11:31:26 -04:00
Marc Abramowitz
dc63bbf0b9 Simplify serf inventory plugin
using newly added `EnvironmentConfig` class in `serfclient`.

See https://github.com/KushalP/serfclient-py/pull/17
2015-06-17 08:20:56 -07:00
Brian Coca
cce6edeb6c Merge pull request #11293 from tamsky/tamsky-patch-1
for tags with empty value, do not append separator
2015-06-17 09:55:07 -04:00
Benno Joy
0d5b7ae669 fixes 11296 where the groups does not have all the groups 2015-06-17 19:18:19 +05:30
Brian Coca
888f3236c5 Merge pull request #11294 from msabramo/serf_plugin_use_env_vars
plugins/inventory/serf.py: Use SERF_RPC_* env vars
2015-06-17 09:38:56 -04:00
Marc Abramowitz
ce42c66e27 plugins/inventory/serf.py: Use SERF_RPC_* env vars
This makes the Serf inventory plugin use the `SERF_RPC_ADDR` and
`SERF_RPC_AUTH` environment variables that the `serf` command-line tool
already uses.

These can be used to get Serf data from a remote node instead of
requiring the ansible control host to be running a serf agent and to be
a member of the serf cluster.
2015-06-16 21:11:36 -07:00