Commit graph

13345 commits

Author SHA1 Message Date
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 2da35a55a5 Merge pull request #10247 from lorin/redis-docfix
Document redis_kv Python package dependency
2015-02-16 11:33:39 -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 8f05e4eaaf Tests for: https://github.com/ansible/ansible-modules-core/issues/778 2015-02-16 07:12:18 -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
Lorin Hochstein 639f06e0e8 Document redis_kv Python package dependency
Mention in docs that the redis_kv lookup requires that the redis Python package
is installed.
2015-02-15 22:37:58 -05: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 f6a6df2169 removed unused method 2015-02-13 08:27:35 -05:00
Brian Coca af573db47a documented new tag behaviour 2015-02-13 08:27:07 -05:00
Brian Coca 65c08d1364 added tests
refactored task selection into method
list-tasks now uses common method of task selection
always is now skippable if specified in --skip-tags
2015-02-13 08:27:07 -05:00
Brian Coca 6fbbf9c118 simplified if conditions 2015-02-13 08:27:07 -05:00
Brian Coca 6579c5ddf5 fixed skipped tags 2015-02-13 08:27:07 -05:00
Brian Coca 95fa770ba0 adds complex tag management
Adds a special tag:
 - always: always runs no matter what --tags, --skip-tags say

Adds 4 special keywords for --tags/skip-tags
 - all: all tagged + untagged tasks
 - tagged: only tagged tasks
 - untagged: only untagged tasks
 - always: only run tasks tagged 'always'
2015-02-13 08:27:07 -05: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 39f8142649 Merge pull request #10230 from gtirloni/devel
Add how to load extra variables directly from a file (using @).
2015-02-12 21:46:20 -05:00
Giovanni Tirloni bcbf819a8b Add how to load extra variables directly from a file (using @). 2015-02-12 21:31:56 -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 aa210ae97e Merge pull request #10222 from bcoca/force_passwords_strings
made sure passwords are strings
2015-02-12 17:46:40 -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
Brian Coca a2c9f8a352 Merge pull request #10228 from giovtorres/broken_link_in_footer
Fixed broken link.  Added links to both core and extras git repos.
2015-02-12 15:18:20 -05:00
Toshio Kuratomi dd484e8211 Update modules 2015-02-12 12:16:31 -08:00
Toshio Kuratomi 53e5c5e33f Merge pull request #10205 from alefteris/patch-1
Typo in galaxy.rst
2015-02-12 12:00:25 -08:00
James Cammarata 995aa8e24b Making task includes dynamic and fixing many other bugs
Dynamic task includes still need some work, this is a rough first version.
* doesn't work with handler sections of playbooks yet
* when using include + with*, the insertion order is backwards
* fix potential for task lists to be unsynchronized when using the linear
  strategy, as the include conditional could be predicated on an inventory
  variable
2015-02-12 18:17:16 +00:00
giovtorres a6d313f347 Fixed broken link. Added links to both core and extras git repos. Bumped date
to 2015.
2015-02-12 12:57:54 -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 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 ec8483eb69 Merge pull request #10227 from fullergalway/patch-1
Small change to guid_gce.rst,  'project-name', should be 'project_id'
2015-02-12 10:00:13 -05:00
Brian Coca 0692cc2b60 Merge pull request #10224 from cooniur/devel
Update outdated command description in section "Latest Release Via Yum"
2015-02-12 09:43:47 -05:00
fullergalway a8c02ea807 Small update to guid_gce.rst, says 'project-name', should be 'project_id'. 2015-02-12 09:15:43 +00:00
Tongliang Liu 1fc2095157 Added "--recursive" to git clone command in installation via yum section. Changed rpm build parent directory to current dir. 2015-02-11 20:00:38 -08:00
Tongliang Liu 3ae1fba12b Removed old module folder 2015-02-11 19:55:20 -08:00
Tongliang Liu 2f3dff95f5 Merge remote-tracking branch 'upstream/devel' into devel
Conflicts:
	library/files/stat

Resolved: Using theirs
2015-02-11 19:01:51 -08: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
Monty Taylor 3188f7f1c1 Add new OpenStack Inventory module
This inventory module is based on the shade library like the new os_
modules. It shares the ability to configure itself from os-client-config
configuration files or from the standard OS_ environment variables.

More importantly the guts of the code to get the server vars is now
shared with os_compute_facts. This means that playbooks that provision
compute hosts and then want to run plays on them can refer to server
variables in exactly the same way whether the provsioning play ran first
or whether the play ran in the context of a pre-existing inventory.
2015-02-11 19:13:31 -05: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 f05a1085e9 Merge pull request #9249 from tjanez/doc-add_note_about_escaping_with_regex_replace
Added a note about escaping backreferences when using 'regex_replace' filter
2015-02-11 17:47:19 -05:00
Thanos Lefteris ef11c8ce55 Typo in galaxy.rst 2015-02-11 23:03:45 +02: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