Commit Graph

14061 Commits (ba822ce0f9383c979fff8f93d945227f905f0952)
 

Author SHA1 Message Date
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
Brian Coca 1f2e60f251 Merge pull request #10558 from hagbarddenstore/devel
Always define error before using it
10 years ago
Brian Coca 35a8f94b52 Merge pull request #10557 from kristous/patch-2
Update README.md
10 years ago
Brian Coca 76e3a9c93a Merge pull request #9894 from 47lining/cloud_modules_sts_support_redux_ansible
Cloud Modules STS Support Redux
10 years ago
Brian Coca ecae993ead Merge pull request #10554 from jxn/changelog-spellcheck
Fix a few spelling errors in the changelog
10 years ago
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.
10 years ago
kristous e964439b99 Update README.md
to get debuild you need to install devscripts
10 years ago
jxn bc2e6d4d0e Fix a few spelling errors in the changelog 10 years ago
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
10 years ago
deimosfr 7b63a57993 fix consul inventory issue (missing method param) 10 years ago
Toshio Kuratomi b7936009c2 Correct typo 10 years ago
Toshio Kuratomi 0ec1b025a9 Update the module pointers 10 years ago