Toshio Kuratomi
369bf0d214
No longer need AnsibleComposer
2015-04-02 12:35:50 -07:00
Toshio Kuratomi
b4f16a5e2a
Merge pull request #10605 from ansible/v2-pyyaml-c-2
...
Port v2 to use the C version of pyyaml instead of pure python
2015-04-02 11:45:40 -07:00
Toshio Kuratomi
d277c6b821
Few more py3 cleanups
2015-04-02 11:41:18 -07:00
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
1fa3dbb7d2
capture IOErrors on backup_local (happens on non posix filesystems)
...
fixes #10591
2015-04-01 12:12:34 -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
Brian Coca
0d1e2e74a1
converted error on play var initialization into warning with more information
2015-03-31 23:07:03 -04:00
Brian Coca
17e086fe8c
dont break everything when one of the vars in inject does not template correctly, wait till its used
2015-03-31 21:36:18 -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
2a8a302e7e
fixed corner case when counting backwards, added test cases for count=0 and backwards counts
2015-03-30 20:34:17 -04:00
joefis
3a70affb9a
Vagrant inventory: exit 0 on success
...
Current code has sys.exit(1) at the end of the codepath for the
options --help, --list and --host. These are not error conditions
so should be returning 0 for success, not 1 which is EPERM i.e.
"Operation not permitted". Newer Vagrant versions examine the exit
codes from subprocesses and interpret this as a failure.
2015-03-30 16:39:09 +01: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
35a2ca8a5d
made sequence more flexible, can handle descending and negative sequences and is skipped if start==end
2015-03-27 15:41:02 -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