Commit graph

13653 commits

Author SHA1 Message Date
Toshio Kuratomi
ac6b7045db A little py3 compat, side effect of making this work under profile 2015-04-02 11:41:13 -07:00
Toshio Kuratomi
bfae708bbf Port v2 to the PyYAML C extension 2015-04-02 11:21:55 -07:00
James Cammarata
811a906332 Fixing the synchronize action plugin for v2 2015-04-02 11:54:45 -05:00
James Cammarata
34aba2dd9a Fixing dupe option for -u in v2 2015-04-02 11:26:42 -05:00
James Cammarata
0603b9c62c Merge branch 'v2_fixing' into devel
Conflicts:
	v2/ansible/playbook/helpers.py
2015-04-02 01:25:53 -05:00
James Cammarata
785c0c0c8c V2 fixing bugs 2015-04-02 01:19:21 -05:00
Brian Coca
06c837cd87 Merge pull request #7487 from nirvinehh/devel
Clean non-printable chars from stdout instead of dropping the whole thin...
2015-04-01 21:36:03 -04:00
Toshio Kuratomi
69cf95bd0e Add __init__ to the yaml test dir 2015-04-01 15:00:50 -07:00
Toshio Kuratomi
e697de6076 Move AnsibleBaseBaseYAMLObject's position_info into a property 2015-04-01 14:54:22 -07:00
Toshio Kuratomi
05f1bed12b Use the node's start_mark to determine line and column.
* Elminates a lot of logic in the AnsibleComposer class.
* Update tests with new column offsets.  The rule should now be
  consistently: Column is the start of the entry's value (so for
  strings, the first non-space after the entry beginning, for dicts, the
  first character of the first key)
2015-04-01 13:51:01 -07:00
Toshio Kuratomi
b152275a36 Test line numbers and "fix" a bug in the scalar line counting 2015-04-01 12:18:53 -07:00
Toshio Kuratomi
4a5b37542d Merge pull request #10579 from ansible/v2-unicode-yaml
Change AnsibleConstructor for yaml to only return unicode strings
2015-04-01 09:39:53 -07:00
Toshio Kuratomi
c41b917162 Add a yaml constructor for unicode strings:
* Changes AnsibleConstructor so that only unicode strings are returned
  (no str type)
* Tracks line, column numbers for strings
* Adds unittests for AnsibleLoader (generic for all the yaml parsing)
2015-04-01 09:37:54 -07:00
Brian Coca
4dd233b0dd Merge pull request #10237 from emonty/remove-auth-token
Remove auth token and port openstack module_utils changes to v2 tree
2015-04-01 12:20:59 -04:00
Brian Coca
b1ccb5989c Merge pull request #10590 from lowwalker/patch-1
note added to source section
2015-04-01 10:30:18 -04:00
Brian Coca
f6714ac051 Merge pull request #10507 from renard/fix-patch-action-plugin
Fix patch action plugin
2015-04-01 09:57:34 -04:00
Luke
132c0e794d note added to source section
Added reminder to not use source install method if you're going to be installing ansible for a Tower system
2015-04-01 08:29:56 -04:00
Monty Taylor
87c99b4675 Align verify parameter with validate_certs
The rest of ansible uses validate_certs, so make that the main
documented parameter. However, leave verify as an alias since that's the
passthrough value to the underlying libraries.
2015-04-01 07:54:02 -04:00
Monty Taylor
90ca386555 Add api timeout now that shade spports it everywhere 2015-03-31 20:29:06 -04:00
Toshio Kuratomi
eb788dd8f6 Just move things around so that new_inventory doesn't interfere with testing 2015-03-31 12:58:00 -07:00
Brian Coca
57ed994766 updated version 2015-03-31 13:44:21 -04:00
Toshio Kuratomi
70ff7f1b98 Merge pull request #10580 from ansible/v2-parse_kv-newline
Possible fix for the first newline and triple newline problems
2015-03-31 07:53:06 -07:00
Brian Coca
f337707ef1 updated ref to pickup latest docfixes 2015-03-31 09:43:09 -04:00
Brian Coca
4919c225e6 updated ref so docs can build 2015-03-31 09:22:19 -04:00
Brian Coca
fd7bf51c14 updated changelog with new cloudstack modules 2015-03-31 08:59:40 -04:00
Brian Coca
f812582d9c updated submodule refs 2015-03-31 08:47:30 -04:00
Toshio Kuratomi
378dc561cb Possible fix for the first newline and triple newline problems 2015-03-30 22:47:56 -07:00
Toshio Kuratomi
43c1a97447 Various unicode and backslash escape cleanups
* Do backslash escape parsing in parse_kv() [was being done in the copy
  module purely for newlines in the copy module's content param before]
* Make parse_kv always return unicode
* Add bandaid to transform args to unicode until we can fix things
  calling parse_kv to always send it unicode.
* Make split_args deal with unicode internally.  Warning, no bandaid for
  things calling split_args without giving it unicode (shouldn't matter
  as dealt with str internally before)
* Fix copy and unarchive action plugins to not use setdefaultencoding
* Remove escaping from copy (it was broken and made content into latin-1
  sometimes). escaping is now in parse_kv.
* Expect that content is now a unicode string so transform to bytes just
  before writing to the file.
* Add initial unittests for split_args and parse_kv.  4 failing
  tests.because split_args is injecting extra newlines.
2015-03-30 19:19:34 -07:00
Toshio Kuratomi
1cc2135a0d Fix no closed parens 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
4aa3ac41a1 Port sivel's fix for egg_info (#10563) to v2 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
ce512e18f0 Remove fireball connection plugin. v2 will have accelerate but not fireball 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
dc9b36ccb0 Some notes on optimizing module_replacer 2015-03-30 19:15:41 -07:00
Toshio Kuratomi
68880a797d Update core to fix cloudformation problem 2015-03-30 19:15:41 -07:00
Brian Coca
299314c6b6 Merge pull request #10545 from resmo/feature/cloudstack-utils
cloudstack: common code used in cloudstack modules
2015-03-30 22:03:45 -04:00
Brian Coca
1ae5b9292c Merge pull request #10571 from bcoca/community_docs
small updates to community and contribution page
2015-03-30 09:00:01 -04:00
Brian Coca
3afc54d298 added zabbix modules to changelog 2015-03-29 16:51:11 -04:00
Brian Coca
c90e3f0d16 small updates to community and contribution page 2015-03-29 15:58:56 -04:00
Brian Coca
7fdfb130bb Merge pull request #10566 from bcoca/role_sudo
readded sudo/su vars to allow role/includes to work with passed sudo/su
2015-03-29 10:14:26 -04:00
Brian Coca
662b35cbce readded sudo/su vars to allow role/includes to work with passed sudo/su 2015-03-27 18:30:42 -04:00
Brian Coca
d628f3f591 Merge pull request #10563 from sivel/fix-gen-egg-info
egg_info is now written directly to lib
2015-03-27 13:37:01 -04:00
Matt Martz
104b2036f7 egg_info is now written directly to lib 2015-03-27 12:03:20 -05:00
Brian Coca
1f2e60f251 Merge pull request #10558 from hagbarddenstore/devel
Always define error before using it
2015-03-27 08:30:38 -04:00
Brian Coca
35a8f94b52 Merge pull request #10557 from kristous/patch-2
Update README.md
2015-03-27 08:24:26 -04:00
Brian Coca
76e3a9c93a Merge pull request #9894 from 47lining/cloud_modules_sts_support_redux_ansible
Cloud Modules STS Support Redux
2015-03-27 08:20:43 -04:00
Brian Coca
ecae993ead Merge pull request #10554 from jxn/changelog-spellcheck
Fix a few spelling errors in the changelog
2015-03-27 07:56:24 -04:00
Kim Johansson
576832e4c9 Always define error before using it
When the error reason is "Forbidden", the code throws a Python exception
rather than simply outputting the exception reason.

It's not nice to throw a Python exception when all the info to display
a proper message is available.
2015-03-27 10:46:01 +01:00
kristous
e964439b99 Update README.md
to get debuild you need to install devscripts
2015-03-27 07:47:20 +01:00
jxn
bc2e6d4d0e Fix a few spelling errors in the changelog 2015-03-26 20:00:52 -05:00
Brian Coca
75f933cf64 Merge pull request #10551 from deimosfr/devel
fix consul inventory issue (missing method param)

merging as this does not seem to have worked before
2015-03-26 17:58:50 -04:00
deimosfr
7b63a57993 fix consul inventory issue (missing method param) 2015-03-26 21:40:36 +01:00