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
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
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
Matt Martz
68358e31fb
Allow ansible (ad-hoc) to support --extra-vars also
2015-02-11 19:34:01 -06:00
Monty Taylor
9b17918bc9
Add doc fragment for new OpenStack modules
2015-02-11 14:04:59 -05:00
Brian Coca
c966eb5d80
Merge pull request #10015 from bcoca/nicer_json_errors
...
handle json load errors as ansible error instead of ugly stacktrace
2015-02-11 13:31:25 -05:00
Nicolas Le Manchet
faa2449f55
Set proper permissions for ansible-vault view
2015-02-11 14:15:38 +01:00
Henk Wiedig
0a902a5afd
make su promt AIX compatible
...
$ su suuser date
suusers's Password:
2015-02-10 05:18:37 -05:00
Brian Coca
75d3c6b104
Merge pull request #10185 from bcoca/valut_editor_missing_err
...
better missing editor message
2015-02-09 18:16:57 -05:00
Toshio Kuratomi
4902c06304
Obfuscate passwords in more places where it is displayed
2015-02-09 10:13:13 -08:00
Brian Coca
8b7dc6bbfb
better missing editor message
...
fixes #10182
2015-02-08 23:26:56 -05:00
Toshio Kuratomi
a04138a887
Add v2's unicode.py to utils so we can use unicode_wrap in the filter_plugins
2015-02-02 19:09:08 -08:00
Toshio Kuratomi
1011959d88
Move the hashing util functions to their own file to mirror v2
2015-02-02 10:25:09 -08:00
Toshio Kuratomi
3d5523fbb7
Fix for unicode filenames for template module
...
Fixes #10110
2015-01-28 14:24:57 -08:00
Brian Coca
9d190c8d8d
Revert "Support variable values with dashes"
2015-01-26 12:54:50 -05:00
Brian Coca
13bbf9bfbb
Merge pull request #9834 from nathancahill/fix-variables-with-dashes
...
Support variable values with dashes
2015-01-26 12:51:56 -05:00
Brian Coca
c09d27bca1
handle json load errors as ansible error instead of ugly stacktrace
2015-01-15 12:03:13 -05:00
Toshio Kuratomi
5ed7a55990
Restore json import for redis as well. Switch preference to simplejson for speed
2014-12-23 13:14:14 -08:00
Nathan Cahill
6d785ca081
support variables with dashes - fixes #9786
2014-12-16 20:58:38 -07:00
Nicolas Rémond
3cf0c09ce9
Variables lookup in a template should handle properly the undefined case
2014-12-12 12:11:17 +01:00
Brian Coca
97408fe5b2
Revert "Make listify respect the global setting for undefined variables."
...
This 'mostly' reverts commit 2769098fe7
.
Conflicts:
lib/ansible/utils/__init__.py
test/units/TestUtils.py
2014-12-04 09:14:53 -05:00
Brian Coca
e938f554b7
better exception handling for unexpected exceptions
2014-12-04 08:01:38 -05:00
Brian Coca
f2b853f7a0
changed plugin load priority to be path based, not suffix based.
2014-12-01 17:36:57 -05:00
Brian Coca
9a5cbf747a
fine tuned lookup/templating errors
2014-11-26 22:06:37 -05:00
Brian Coca
db145a368d
now only flattened ignores failonundefined cause of it's special need
2014-11-25 16:12:15 -05:00
Brian Coca
e3feb104c3
fixes issues with listyfing failing too often
2014-11-25 15:55:53 -05:00
Brian Coca
7d2937b1cc
minor fixes to template function
...
- make sure it calls itself correctly, now passes same params as it recieves
- vars is reserved, changed for templatevars to avoid confustion
- forcing mustaches again since the removal broke 'listification' as per #9622
- fixes incorrectly successful tests using undefined var, now it is defined
- now returns empty list if items is None to avoid errors
2014-11-25 12:59:13 -05:00
Toshio Kuratomi
c4c3cc315d
Transform both values of a task name into a byte str prior to comparing
...
Fixes #9571
2014-11-19 11:50:02 -08:00
Toshio Kuratomi
25607e5cf4
When run in FIPS mode, allow vault to fail only when using legacy format
2014-11-17 16:38:56 -08:00
Brian Coca
395952329a
Merge pull request #9529 from sivel/env-nested-modules
...
Support nested modules with ANSIBLE_LIBRARY env var
2014-11-12 10:59:18 -05:00
Toshio Kuratomi
9a7eb57718
Some changes to FIPS compat since SLES implements it differently
2014-11-11 20:23:03 -08:00
Toshio Kuratomi
6a85f3ebc7
Add comments/docstrings not to use md5 unless forced to by forces outside our control.
2014-11-10 12:01:44 -08:00
Matt Martz
4c2d06d2fe
Support nested modules with ANSIBLE_LIBRARY env var
2014-11-10 10:52:23 -06:00
Toshio Kuratomi
f1267c0b05
Move from md5 to sha1 to work on fips-140 enabled systems
2014-11-06 21:28:04 -08:00
Brian Coca
b3b356480d
added the ability to keep aliased and deprecated modules prefixed with
...
'_', they will be loaded after non prefixed modules are checked they can
be full modules or symlinks to existing ones (alias)
also updated ansible doc to ignore these, will eventually add selective
display
2014-10-27 15:54:41 -07:00
James Cammarata
9ee3cd14ee
Fix typo in vault edit helper code
...
Fixes #9399
2014-10-22 11:08:01 -05:00
Toshio Kuratomi
3d135f98d1
Small python3 compat in vault to keep code in sync with v2
2014-10-21 10:32:25 -04:00
Toshio Kuratomi
da9d87b1d4
Make vault file creation use a tempfile
2014-10-21 00:32:08 -04:00
James Cammarata
b61a78532c
Catch template syntax errors specifically when templating strings
...
Fixes #9333
2014-10-20 13:11:20 -05:00
Toshio Kuratomi
48a308a87c
Allow both old-style and new-style role dependencies to be valid.
...
Fixes #9173
2014-10-09 02:48:47 -04:00
Toshio Kuratomi
c75aeca435
Merge removal of complex_args_hack
2014-10-08 15:03:43 -04:00
Toshio Kuratomi
a10d10f647
Workaround more python-2.6 shlex not being able to handle unicode strings
2014-10-08 14:30:36 -04:00
Rob Howard
2769098fe7
Make listify respect the global setting for undefined variables.
...
(Fixes #9008.)
With credit to jimi-c for the initial pass in this commit:
b18bd6b98e
2014-10-08 13:47:11 +11:00
James Cammarata
05644686de
Fix bug in plugin path caching
...
Fixes #9263
2014-10-04 21:47:38 -05:00
Toshio Kuratomi
cef2a8795f
Make dynamic inventory return byte str, not unicode
2014-10-02 20:27:06 -04:00
James Cammarata
d99e4f15c8
Merge pull request #9220 from jlaska/devel
...
Resolve issue where repo_path contains multiple '.git' strings
2014-10-01 14:23:23 -05:00
Toshio Kuratomi
0af750e3e5
Merge pull request #9182 from bbasleeper/feature_sudo_exe_from_inventory
...
Add a new inventory parameter (ansible_sudo_exe) to specify sudo command...
2014-09-30 14:55:46 -04:00
James Cammarata
05994cd900
Don't clear paths when adding a new directory path in PluginLoader
2014-09-30 09:43:40 -05:00