Commit Graph

13871 Commits (f4172fb9daf27baaedd63d1f67ad072b2263d9e7)
 

Author SHA1 Message Date
Toshio Kuratomi 2cddb093f5 Add AnsibleList for keeping track of line numbers in lists parsed from yaml 10 years ago
Toshio Kuratomi 369bf0d214 No longer need AnsibleComposer 10 years ago
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
10 years ago
Toshio Kuratomi d277c6b821 Few more py3 cleanups 10 years ago
Toshio Kuratomi ac6b7045db A little py3 compat, side effect of making this work under profile 10 years ago
Toshio Kuratomi bfae708bbf Port v2 to the PyYAML C extension 10 years ago
James Cammarata 811a906332 Fixing the synchronize action plugin for v2 10 years ago
James Cammarata 34aba2dd9a Fixing dupe option for -u in v2 10 years ago
James Cammarata 0603b9c62c Merge branch 'v2_fixing' into devel
Conflicts:
	v2/ansible/playbook/helpers.py
10 years ago
James Cammarata 785c0c0c8c V2 fixing bugs 10 years ago
Brian Coca 06c837cd87 Merge pull request #7487 from nirvinehh/devel
Clean non-printable chars from stdout instead of dropping the whole thin...
10 years ago
Toshio Kuratomi 69cf95bd0e Add __init__ to the yaml test dir 10 years ago
Toshio Kuratomi e697de6076 Move AnsibleBaseBaseYAMLObject's position_info into a property 10 years ago
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)
10 years ago
Toshio Kuratomi b152275a36 Test line numbers and "fix" a bug in the scalar line counting 10 years ago
Toshio Kuratomi 4a5b37542d Merge pull request #10579 from ansible/v2-unicode-yaml
Change AnsibleConstructor for yaml to only return unicode strings
10 years ago
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)
10 years ago
Brian Coca 4dd233b0dd Merge pull request #10237 from emonty/remove-auth-token
Remove auth token and port openstack module_utils changes to v2 tree
10 years ago
Brian Coca 1fa3dbb7d2 capture IOErrors on backup_local (happens on non posix filesystems)
fixes #10591
10 years ago
Brian Coca b1ccb5989c Merge pull request #10590 from lowwalker/patch-1
note added to source section
10 years ago
Brian Coca f6714ac051 Merge pull request #10507 from renard/fix-patch-action-plugin
Fix patch action plugin
10 years ago
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
10 years ago
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.
10 years ago
Brian Coca 0d1e2e74a1 converted error on play var initialization into warning with more information 10 years ago
Brian Coca 17e086fe8c dont break everything when one of the vars in inject does not template correctly, wait till its used 10 years ago
Monty Taylor 90ca386555 Add api timeout now that shade spports it everywhere 10 years ago
Toshio Kuratomi eb788dd8f6 Just move things around so that new_inventory doesn't interfere with testing 10 years ago
Brian Coca 57ed994766 updated version 10 years ago
Toshio Kuratomi 70ff7f1b98 Merge pull request #10580 from ansible/v2-parse_kv-newline
Possible fix for the first newline and triple newline problems
10 years ago
Brian Coca f337707ef1 updated ref to pickup latest docfixes 10 years ago
Brian Coca 4919c225e6 updated ref so docs can build 10 years ago
Brian Coca fd7bf51c14 updated changelog with new cloudstack modules 10 years ago
Brian Coca f812582d9c updated submodule refs 10 years ago
Toshio Kuratomi 378dc561cb Possible fix for the first newline and triple newline problems 10 years ago
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.
10 years ago
Toshio Kuratomi 1cc2135a0d Fix no closed parens 10 years ago
Toshio Kuratomi 4aa3ac41a1 Port sivel's fix for egg_info (#10563) to v2 10 years ago
Toshio Kuratomi ce512e18f0 Remove fireball connection plugin. v2 will have accelerate but not fireball 10 years ago
Toshio Kuratomi dc9b36ccb0 Some notes on optimizing module_replacer 10 years ago
Toshio Kuratomi 68880a797d Update core to fix cloudformation problem 10 years ago
Brian Coca 299314c6b6 Merge pull request #10545 from resmo/feature/cloudstack-utils
cloudstack: common code used in cloudstack modules
10 years ago
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.
10 years ago
Brian Coca 1ae5b9292c Merge pull request #10571 from bcoca/community_docs
small updates to community and contribution page
10 years ago
Brian Coca 3afc54d298 added zabbix modules to changelog 10 years ago
Brian Coca c90e3f0d16 small updates to community and contribution page 10 years ago
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
10 years ago
Brian Coca 662b35cbce readded sudo/su vars to allow role/includes to work with passed sudo/su 10 years ago
Brian Coca d628f3f591 Merge pull request #10563 from sivel/fix-gen-egg-info
egg_info is now written directly to lib
10 years ago
Matt Martz 104b2036f7 egg_info is now written directly to lib 10 years ago
Brian Coca 5ec1f3bd6e removed folding sudo/su to become logic from constants as it is already present downstream in playbook/play/tasks 10 years ago