Commit Graph

1290 Commits (a14248ffe1ec7a7cf8623732ebc24e680883fa20)

Author SHA1 Message Date
Brian Coca 6b64fe8bdd Merge pull request #9936 from sysadmin75/9415_hostname_as_dir
Fixes #9415 - fetch: should use hostname instead of ip for directory name
2015-02-20 11:14:48 -05:00
Brian Coca c587bf1488 fixed absolute_import to be on top as it requries 2015-02-19 16:45:34 -05:00
Brian Coca c2023f6f59 Merge pull request #10285 from bcoca/math_filter_rearrange
rearranged math filters
2015-02-19 16:04:26 -05:00
Brian Coca 8be8a7e2f5 Merge pull request #10277 from dago/solaris
Add Solaris zone support for inventory and connection

NOTE: the connection plugin will need some work for v2 (after 1.9 gets released)
2015-02-19 13:13:31 -05:00
Brian Coca c92c4e7376 readded absolute_import 2015-02-19 07:39:45 -05:00
Brian Coca 8872bba21f rearranged math filters 2015-02-18 20:03:05 -05:00
Dagobert Michelsen 81f55ff8ff Adjust leftovers from chroot 2015-02-18 16:52:44 +01: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
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 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
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
Brian Coca 69b76a48b0 dest is not required as patchfile can have that info 2015-02-12 18:52:58 -05:00
Brian Coca 62a6378c4a Merge pull request #8792 from bcoca/ternary_filter
ternary filter
2015-02-12 11:29:49 -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
Dagobert Michelsen 9cf8c3a901 Add support for Solaris zones 2015-02-11 16:48:04 +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 f7ad6ad4de fixed issue with prompt == none and su + ask_pass in ssh plugin 2015-02-10 08:47:11 -05:00
Brian Coca 476b0f6d99 support for patch module to have master as src 2015-02-09 16:34:49 -05:00
Toshio Kuratomi 3f97fc2ba6 Merge pull request #10162 from jonhadfield/fix_2.4_hashing
correct typo that breaks hashing on python 2.4.
2015-02-04 09:44:40 -08:00
Brian Coca 07dfbaedc3 Merge pull request #9602 from cchurch/powershell_splatting
Handle PowerShell parameters passed via splatting
2015-02-04 10:25:03 -05:00
Jon Hadfield 6874f5056d correct typo that breaks hashing on python 2.4. 2015-02-04 13:46:49 +00:00
Brian Coca 7ea2aff272 Merge pull request #9772 from jszwedko/allow-template-for-retries
Allow retries to be templatable
2015-02-03 07:08:22 -05:00
Toshio Kuratomi 788e47b693 Correct filter specification 2015-02-02 19:21:26 -08:00
Toshio Kuratomi 8fd7f4b121 Wrap some filters so they return unicode.
The rules are -- if the filter returns str type and the str may contain
non-ascii characters then wrap it to convert to unicode type.  Not
needed if the function already returns unicode type or only returns
ascii characters
2015-02-02 19:11:12 -08:00
Toshio Kuratomi 0e5f86cce4 Import hash functions for filters from the new location so the plugins will work on v1 and v2 2015-02-02 10:25:09 -08:00
Toshio Kuratomi b3af2f9bee Better error message 2015-02-02 08:52:19 -08:00
Toshio Kuratomi f6e8ddfd5f Use pass instead of bare None value 2015-02-02 08:52:19 -08:00
Toshio Kuratomi 624a8dd1d9 Replace large if-elif-else blocks with a dict-dispatcher 2015-02-02 08:52:19 -08:00
Toshio Kuratomi 616fda5767 First try at only failing if the filter is actually used. 2015-02-02 08:52:19 -08:00
Maciej Delmanowski 7e46554160 Add ipaddr() filter plugin 2015-02-02 08:52:19 -08:00
Andreas Reischuck 6609f3ac03 fix suggested by @aikomastboom 2015-01-30 21:04:52 +01:00
Brian Coca 3d6b6edea9 added url lookup plugin 2015-01-27 17:26:18 -05:00
Toshio Kuratomi d3666f3265 Make py2.4 remote checksum large-file-enabled as well 2015-01-26 21:44:42 -08:00
Akos Vandra 03fa421f3f do not use with, it is not supported all the way down to 2.4 2015-01-25 18:42:59 +01:00
Akos Vandra e8144b3b90 fixes #10086 2015-01-25 14:51:01 +01:00
Steve Gargan c02f114967 Initial commit of Ansible support for the Consul clustering framework (http://consul.io).
Submission includes support for
 - creating and registering services and checks
 - reading, writing and lookup for values in consul's kv store
 - creating and manipulating sessions for distributed locking on values in the kv
 - creating and manipulating ACLs for restricting access to the kv store
 - inventory support that reads the Consul catalog and group nodes according to
     - datacenters
     - exposed services
     - service availability
     - arbitrary groupings from the kv store

This submission makes extensive use of the python-consul library and this is required
as a dependency and can be installed from pip.

The tests were written to target a vagrant cluster which can be setup by following the
instructions here http://github.com/sgargan/consul-vagrant
2015-01-24 01:09:03 +00:00
Toshio Kuratomi 364f772cc5 Fix quoting of shell parameters used in remote_checksum and add integration test to detect the error
Fixes #682
2015-01-22 12:33:06 -08:00
Björn Andersson 65e4f2b2bc Add filter to turn a string into a UUID
This filter was made because I needed to create idempotent UUIDs when
installing the agent for Go (http://go.cd), which uses UUIds to
distinguish the agents from each other.

It uses a newly created Ansible namespace to distinguish UUIDs created
by Ansible from any other source. The new namespace is a random one
created by uuidgen on OSX.
2015-01-21 08:07:17 +08:00
Brian Coca 2ef5d6be1e Merge pull request #9702 from bcoca/better_errors_on_delegate
better exception handling with delegated hosts
2015-01-19 15:25:01 -05:00
Brian Coca 2a9d5054bf Merge pull request #9995 from bcoca/hash_filters
Hash filters
2015-01-19 15:17:39 -05:00
Shawn Siefkas 682b987567 Add stdout_lines to results when using with_items 2015-01-13 13:34:25 -06:00
Brian Coca 35247fabb8 added hash and password_hash functions
documented new hashing filters and preexisting hashing filters
removed extra sha1 example in others, clarified some of the hashing examples
2015-01-13 14:05:57 -05:00
Toshio Kuratomi f1fdddb640 Do not send stat all the parameters that unarchive received
Fixes #546
2015-01-13 09:42:37 -08:00
Toshio Kuratomi edc27c5a5b Fix to_nice_json on python2.6 2015-01-12 10:45:18 -08:00
sysadmin75 aff20d911c Fixes #9415 - fetch: should use hostname instead of ip for directory name 2015-01-04 15:57:48 -05:00
Costi Ciudatu 1ed9b6629e run_once tasks are skipped without checking the delegate_to host #9784 2014-12-24 02:22:38 +02:00