Brian Coca
414737557e
Merge pull request #10284 from mihirvj/devel-10221
...
Pulls machine id in ansible facts
2015-02-19 12:56:45 -05:00
Brian Coca
e6ac2fa593
Merge pull request #10292 from dago/solaris-mounts
...
Add support for mounts in Solaris facts
2015-02-19 12:46:37 -05:00
Dagobert Michelsen
b82a8576f1
Add support for mounts in Solaris facts
2015-02-19 15:38:20 +01:00
Mihir Joshi
58a5f8dfaf
Pulls machine id in ansible facts
...
- Fix #10221
2015-02-18 17:10:36 -05:00
jensdepuydt
730c2ba403
minor change to not search in non-existing paths
2015-02-18 12:07:35 +01:00
jensdepuydt
adc0e8be97
Merge branch 'optimize-plugin-loader-10165' of github.com:ansible/ansible into optimize-plugin-loader-10165
2015-02-18 12:04:54 +01:00
Toshio Kuratomi
68e86de26f
Optimize the plugin loader.
...
We have been caching the paths to the plugins but before we would only
cache the specific plugin that we were looking for. This meant that we
might search through all of the plugin directories before finding the
specific module we were interested in. The next plugin we needed we
might again search through all the plugin directories before finding the
plugin we wanted.
This new code will cache all the potential plugins in each directory
searched. For a play that only uses one plugin we'll only search
through directories until we encounter the directory that has the proper
plugin. For a large playbook with many plugins used we'll search
through each directory at most once each.
This should alleviate #10165
2015-02-17 13:24:46 -08:00
Dan Rue
67eb9f301d
Do not mark "skipped" when changed is false
...
When using the "creates" option with the script module, set changed
to False if the file already exists. This behavior is consistent with
other modules which use "creates", such as command and shell.
2015-02-17 15:14:21 -06:00
Dan Rue
787388ac30
Do not mark "skipped" when changed is false
...
When using the "creates" option with the unarchive module, set changed
to False if the file already exists. This behavior is consistent with
other modules which use "creates", such as command and shell.
2015-02-17 15:02:08 -06:00
Toshio Kuratomi
5738ee1cb3
Update core modules to fix new integration tests
2015-02-16 22:08:53 -08:00
Brian Coca
6f6c6fb32a
Merge pull request #10259 from sivel/rax-boot-vol-v2
...
Add new rax_find_bootable_volume to assist with boot from volume
2015-02-16 18:04:16 -05:00
Toshio Kuratomi
8f9b761f3a
Merge pull request #10128 from alxgu/fix_facts_for_sles
...
Fix wrong distribution facts on SLES/openSUSE
2015-02-16 13:24:12 -08:00
Stratos Moros
6caeded74e
Fix umask calculation on file creation. Fixes #10257
2015-02-16 21:16:26 +02:00
Brian Coca
6a29251292
Merge pull request #10248 from hfinucane/gh-9888
...
Add `groups` back into inline templates
2015-02-16 13:56:20 -05:00
Brian Coca
e41d48104f
valutpass fix in password reorog
2015-02-16 12:24:43 -05:00
Brian Coca
b2d5919d6d
Merge pull request #10250 from cove/cyaml
...
improve yaml parsing performance by ~25% by using PyYAML's CParser loader
2015-02-16 12:11:58 -05:00
Brian Coca
a022aed43d
Merge pull request #10229 from bcoca/patch_not_require_dest
...
patch action plugin does not require dest
2015-02-16 11:18:27 -05:00
Toshio Kuratomi
d0556885ff
Update modules
2015-02-16 07:14:11 -08:00
Toshio Kuratomi
c9fb97cc86
Be careful not to set the permissions of the destination of a symlink.
...
It's up to the module using the set_fs_attributes*/set_mode* methods to
specify the filename of the destination of the symlink if that's really
the file that should be modified.
Half of the fix for:
https://github.com/ansible/ansible-modules-core/issues/778
2015-02-16 07:07:58 -08:00
Alexander Gubin
d291dae582
Exit loop after detecting os-release
2015-02-16 13:18:11 +01:00
Cove Schneider
825654a2fa
parse yaml using cparser if present
2015-02-16 00:26:35 -08:00
Henry Finucane
2e4191c013
Add groups
back into inline templates
2015-02-15 20:16:41 -08:00
Toshio Kuratomi
1e867b0b8e
Fix the to_nice_yaml filter to always return unicode strings
...
Fixes #10243
2015-02-14 22:25:56 -08:00
Matt Martz
cfd05ceafc
Add new rax_find_bootable_volume to assist with boot from volume
2015-02-13 15:25:42 -06:00
Brian Coca
f61de115cd
updated version added for pkg5*
2015-02-13 08:21:50 -05:00
Brian Coca
64690691d3
updated to pickup fixed cpanm
2015-02-13 08:10:26 -05:00
Brian Coca
932fd2eda2
fixed vault pass also
2015-02-12 19:03:50 -05:00
Brian Coca
0087816b13
fixed varname su_pass
2015-02-12 19:03:04 -05:00
Brian Coca
69b76a48b0
dest is not required as patchfile can have that info
2015-02-12 18:52:58 -05:00
Brian Coca
5f2d5abeea
ensure proper strings/unicodestrings for passwords
...
updated to correct to_bytes function
removed old to_bytes/to_unicode and repointed clients to new location
fixed unicode test
2015-02-12 17:44:08 -05:00
Toshio Kuratomi
9d605171a7
Didn't port isbasestring/isunicodestring from kitchen so switch to isinstance
2015-02-12 13:55:27 -08:00
Toshio Kuratomi
740bd8fbde
Update to fix logentries issues
2015-02-12 12:58:36 -08:00
Toshio Kuratomi
dd484e8211
Update modules
2015-02-12 12:16:31 -08:00
Brian Coca
62a6378c4a
Merge pull request #8792 from bcoca/ternary_filter
...
ternary filter
2015-02-12 11:29:49 -05:00
Brian Coca
0912781357
Merge pull request #9421 from emonty/features/new-openstack
...
Add support for new OpenStack modules
2015-02-12 10:26:12 -05:00
Brian Coca
1b4f1e1756
Merge pull request #9555 from bcoca/low_cost_facts
...
allow fact objects to be instantiated w/o triggering all fact collection
2015-02-11 20:57:40 -05:00
Brian Coca
fd987f5395
Merge pull request #9063 from sivel/extra-vars-adhoc
...
Allow ansible (ad-hoc) to support --extra-vars
2015-02-11 20:46:37 -05:00
Matt Martz
68358e31fb
Allow ansible (ad-hoc) to support --extra-vars also
2015-02-11 19:34:01 -06:00
Toshio Kuratomi
6fe8865885
Return empty string if unable to read from some files during fact gathering so as not to change the values we return
2015-02-11 14:53:53 -08:00
Brian Coca
13d788021f
Merge pull request #4820 from mscherer/add_local_config
...
Add path for user defined plugin
2015-02-11 14:44:07 -05:00
Monty Taylor
9b17918bc9
Add doc fragment for new OpenStack modules
2015-02-11 14:04:59 -05:00
Monty Taylor
8c7267f9b9
Add support for new OpenStack modules
...
Incoming cloud config for OpenStack is complex due to plugins and
deployer choices. Rather than having the logic spread all over the
OpenStack modules, centralize it in the module_utils code.
2015-02-11 14:04:27 -05:00
Brian Coca
788889225d
Merge pull request #10078 from sgargan/consul
...
Ansible support for Consul
2015-02-11 13:58:15 -05:00
Brian Coca
0b8101aec3
Merge pull request #10141 from dresden-weekly/fix_#10051
...
fixes #10051 as suggested by @aikomastboom
2015-02-11 13:57:04 -05:00
Brian Coca
c966eb5d80
Merge pull request #10015 from bcoca/nicer_json_errors
...
handle json load errors as ansible error instead of ugly stacktrace
2015-02-11 13:31:25 -05:00
Nicolas Le Manchet
faa2449f55
Set proper permissions for ansible-vault view
2015-02-11 14:15:38 +01:00
Toshio Kuratomi
10df1b898c
Fix template module broken when modifying symlinks
...
Needed to clear unwanted parameters from both args and complex args when
calling file module.
Fixes #10208
2015-02-11 00:10:37 -08:00
Kirk Strauser
ab33a0e666
Adds Kerberos authentication to winrm if available
...
If the `kerberos` module is available, winrm will attempt to establish a
Kerberized connection to a Windows server. This allows use of Windows
domain accounts, which are quite often the only kinds of accounts
enabled on enterprise networks.
This also pulls the `transport_schemes` variable up into the
`winrm.Connection` class. This lets tests or future modifications alter
the list of available schemas without reaching into `Connection.__init__`.
2015-02-10 07:39:07 -08:00
Brian Coca
416a4c3342
Merge pull request #10199 from bcoca/su_ssh_fix
...
fixes su/ssh with null prompt
2015-02-10 09:49:35 -05:00
Brian Coca
f7ad6ad4de
fixed issue with prompt == none and su + ask_pass in ssh plugin
2015-02-10 08:47:11 -05:00