Abhijit Menon-Sen
f91ad3dabe
Don't pass the cipher around so much
...
It's unused and unnecessary; VaultLib can decide for itself what cipher
to use when encrypting. There's no need (and no provision) for the user
to override the cipher via options, so there's no need for code to see
if that has been done either.
9 years ago
Abhijit Menon-Sen
017566a2d9
Use AES256 if the cipher is not write-whitelisted
9 years ago
Abhijit Menon-Sen
47bcdf5952
Remove incorrect copy-pasted comment
9 years ago
Brian Coca
a391857013
added a few cloud modules to changelog
9 years ago
Thomas Quenolle
c948af3b1e
Synchronize fix error
...
Fix the error:
"RuntimeError: dictionary changed size during iteration"
9 years ago
James Cammarata
601a1cc6d9
Multiple fixes for include statements and blocks in general
...
Fixes #11981
Fixes #11995
Fixes #12039
Fixes #12077
9 years ago
Marius Gedminas
b44eae9ebc
Don't compile .py files under .tox/
...
'tox -e py26' would fail for me because python -m compileall would crawl
under .tox/py27 and, unsurprisingly, get SyntaxErrors on files from the
Python 2.7 standard library using syntax features not supported by
Python 2.6.
9 years ago
Toshio Kuratomi
9f9891df2c
Add unicode characters to the data that we're testing that ansible-vault can decrypt
9 years ago
Toshio Kuratomi
c81cff1977
Add docker connection plugin to changelog
9 years ago
Brian Coca
154754ae50
pushed module_loader to task_queue_manager so all cli's can benefit from it
...
also normalized -M option across all cli
fixes #12016
9 years ago
Toshio Kuratomi
d2c948dd6a
Remove decrypted vault temp_file mistakenly left from patch making vault edit idempotent
...
This bug was introduced in commit f8bf2ba
on July 27. Hasn't gone out
in a release yet.
9 years ago
Toshio Kuratomi
56ae3a032f
Merge pull request #12075 from ansible/fix-vault-unicode
...
Unicode and other fixes for vault
9 years ago
Toshio Kuratomi
a3fd4817ef
Unicode and other fixes for vault
9 years ago
Toshio Kuratomi
16e8a7dd67
Merge pull request #11767 from amenonsen/vault-new-password-file
...
add option to ansible-vault to read new password from file for rekey
9 years ago
Toshio Kuratomi
156feec264
Merge pull request #11650 from objectified/feature-docker-connection
...
allow ansible to connect to docker containers (without using ssh)
9 years ago
Abhijit Menon-Sen
8bf0dbb7a9
Use [x:y] host ranges instead of [x-y]
...
This commit deprecates the earlier groupname[x-y] syntax in favour of
the inclusive groupname[x:y] syntax. It also makes the subscripting
code simpler and adds explanatory comments.
One problem addressed by the cleanup is that _enumeration_info used to
be called twice, and its results discarded the first time because of the
convoluted control flow.
9 years ago
Abhijit Menon-Sen
73f10de386
Document the behaviour of _match_one_pattern in some detail
...
The possibilities are complicated enough that I didn't want to make
changes without having a complete description of what it actually
accepts/matches. Note that this text documents current behaviour, not
necessarily the behaviour we want. Some of this is undocumented and may
not be intended.
9 years ago
Abhijit Menon-Sen
fa6ffa1dbd
Remove & and ! pattern prefixes as early as possible
...
Now everything under _match_one_pattern can ignore them. This also means
that we can use the cache to return the same results for 'foo' and '!foo'.
9 years ago
Abhijit Menon-Sen
704c3815d3
Reorder functions into a logical sequence based on usage
...
There are no code changes; this is committed separately so as to make
the subsequent "real" diffs easier to read.
9 years ago
Abhijit Menon-Sen
d9086ab46b
Describe the groupname[x]/[x:y] syntax in more detail
9 years ago
Richard Poole
3090a45891
add option to ansible-vault to read new password from file for rekey
...
The --new-vault-password-file option works the same as
--vault-password-file but applies only to rekeying (when
--vault-password-file sets the old password). Also update the manpage
to document these options more fully.
9 years ago
Brian Coca
846f0b0510
changed no_log expected type to new value
9 years ago
Brian Coca
ae91cdfc98
fixed environment inheritance
9 years ago
Brian Coca
8aa732e0a4
allow for lists, sets and dicts to default to None, now return empty type in post processing
...
remove defaults from inhertiable fieldattributes to allow for proper detection and override
9 years ago
Brian Coca
3e13dfd7e8
used stdoutlines list to avoid string mismatches
...
added block environment test
9 years ago
Brian Coca
079a1c843d
Merge pull request #12082 from mgedmin/be-faster
...
Speed up execution
9 years ago
Marius Gedminas
44c94328c8
Speed up execution
...
`if method in dir(self):` is very inefficient:
- it must construct a list object listing all the object attributes & methods
- it must then perform a O(N) linear scan of that list
Replace it with the idiomatic `if hasattr(self, method):`, which is a
O(1) expected time hash lookup.
Should fix #11981 .
9 years ago
Rene Moser
3db4039ad1
cloudstack: implement general api_region support, update docs
9 years ago
objectified
b1785a0361
replace compare_versions() with distutils.version
9 years ago
objectified
c39fb43ad9
added Maintainer comment header
9 years ago
Brian Coca
efa005c228
added names to assert tasks for easier debugging
9 years ago
Brian Coca
d6a1cbeefb
corrected varname that started with number and broke templating
9 years ago
Brian Coca
104b8a9a7b
avoid hostvars which is not a dict
9 years ago
Brian Coca
857d74a274
made diff ignore whitespace
9 years ago
Toshio Kuratomi
1f7b0fee0a
Fixes #12076
9 years ago
Brian Coca
17060f9849
remove +1 from size that was cutting off first char of copied files when a recursive dir
...
fixes #12055
9 years ago
Toshio Kuratomi
6e107d2f22
Comments pointing the way towards substituting cryptography for pycrypto
9 years ago
Brian Coca
560e1633dc
added 3 vmware plugins
9 years ago
Brian Coca
fc19304b00
added vmware_dns_config to changelog
9 years ago
Brian Coca
16f3f8e244
now does not error out when notes are not included in module
9 years ago
Brian Coca
d9cf9abc12
added vmware_cluster to changelog
9 years ago
objectified
d9723069c5
align exec_command() definition with local.py
9 years ago
objectified
3a5522a22c
fake being connected for logging purposes
9 years ago
objectified
8f2a6a9fae
use docker cp when docker >=1.8.0
9 years ago
objectified
2de773477f
allow ansible to connect to docker containers
9 years ago
Brian Coca
fbca8e17a2
added ec2_elb_facts to changelog
9 years ago
James Cammarata
21e421ce53
Validate required list items are not None or empty strings
...
Fixes #12011
9 years ago
Brian Coca
6da2587c36
Merge pull request #12058 from resmo/for-ansible
...
cloudstack: more integration tests and updates
9 years ago
Brian Coca
d59caf501c
added comment about vault multifile
9 years ago
Brian Coca
c819d56ada
added s3 bucket
9 years ago