Toshio Kuratomi
e01b6ad6b4
We are actually taking the repr of a string so we need separate to_bytes and repr calls
9 years ago
Toshio Kuratomi
b70bf3b056
Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3
9 years ago
Toshio Kuratomi
c29f51804b
Fix mixing of bytes and str in module replacer (caused traceback on python3)
9 years ago
Brian Coca
b0bed27211
minor doc fixes
9 years ago
James Cammarata
01d835700b
Cleaning up some py version problems with ActionBase unit tests
9 years ago
Brian Coca
cbc797a7ed
added missing :
9 years ago
Brian Coca
a3489408a5
fixes to playbooks_directives generation
...
order is now predictable
now correctly substitutes loop for with_
adds local_action to action
9 years ago
Brian Coca
512d3dd621
with_ loops always should want a list
9 years ago
Brian Coca
528f073bfa
update core subref
9 years ago
Toshio Kuratomi
1f2595306a
normalize path components to unicode before combining or operating on them
...
Note that this will break if we deal with non-utf8 paths. Fixing this
way because converting everythig to byte strings instead is a very
invasive task so it should be done as a specific feature to provide
support for non-utf8 paths at some point in the future (if needed).
9 years ago
Toshio Kuratomi
ef8bec18bf
Use a unicode format string so that we don't convert to byte strings
...
Fixes #14349
9 years ago
James Cammarata
3518a05db6
Starting to expand unit tests for ActionBase plugin class
9 years ago
Brian Coca
3e28ee0fd4
avoid printing internal loop and loop_args
9 years ago
Gabriel Burkholder
c4ecbad663
Cleans up extra whitespace in ansible.cfg
9 years ago
Brian Coca
ad5a6e7993
updated submodule refs
9 years ago
Brian Coca
e60fef4dbe
Merge pull request #14660 from dagwieers/doc-hybrid-plugin
...
Added a section wrt. hybrid plugins and provide an example for lookup…
9 years ago
Brian Coca
fbdcb22e36
now generate list of playbook ojbect directives
...
TODO: needs links/info and conditionals added
9 years ago
James Cammarata
771f1e31a9
Rework the way ad-hoc filters inventory to match how cli/playbook does it
9 years ago
Brian Coca
e2d2798a42
hosts can be list or string
9 years ago
Brian Coca
2d56293768
default play name to hosts entry
...
return to previous behaviour as now the name was left blank
9 years ago
Dag Wieers
e5600ee204
Turn it in correct reStructuredText
...
Why not AsciiDoc is beyond me, as it is much easier for documentation.
9 years ago
Dag Wieers
c1d90e3f2d
Added a section wrt. hybrid plugins and provide an example for lookup plugins
9 years ago
Brian Coca
064cdec6ff
added note for verbosity
9 years ago
Monty Taylor
c737bd48bc
Deduplicate true duplicate entries in the openstack inventory
...
There are cases where the host list back from the cloud comes back
duplicated. This causes us to report those with UUIDs, which we do to
support truly different servers with the same name. However, in the case
where duplicate host entries have the same UUID, we can know it's a data
hiccup.
9 years ago
James Cammarata
cd51ba7965
Use abspath instead of realpath for group/host vars files
...
The use of realpath means when following symlinks the actual path is
used when loading these files in the VariableManager, which may not
line up with the host or group name specified.
Fixes #14545
9 years ago
Toshio Kuratomi
9c9cce51ab
Update submodule refs
9 years ago
Brian Coca
fe0543ebdb
Merge pull request #14642 from chouseknecht/role_install
...
Updated auto-install-roles proposal.
9 years ago
James Cammarata
9112f5af3a
Merge pull request #14535 from b4ldr/update_uptime_for_api_2
...
update uptime script to use version 2.0 of the api
9 years ago
chouseknecht
66756078f3
Updated auto-install-roles proposal.
9 years ago
Brian Coca
03c33053aa
clarified become options do not imply others
...
fixes #14635
9 years ago
James Cammarata
8e0c8ffe7b
Merge pull request #14512 from scottsb/patch-1
...
Fix leftover references to sudo instead of become
9 years ago
Etherdaemon
06977d5cb1
Fixup boto3_conn as commit 6ea772931f
broke commit 27398131cf
9 years ago
James Cammarata
2db3f290ba
Fix logic error when copying files recursively to a directory
9 years ago
James Cammarata
9de24a3735
Assert things against the recursive copy result to make sure it did something
9 years ago
Brian Coca
34541b4e5e
preserve no_log for async also
9 years ago
James Cammarata
d74ea51287
Submodule update
9 years ago
James Cammarata
da02aba173
Don't inject PlayContext properties as variables if they're None
...
Fixes bug introduced in 078ebb0
9 years ago
James Cammarata
e02b98274b
issue callbacks per item and retry fails
...
- now workers passes queue to task_executor so it can send back events per item and on retry attempt
- updated result class to pass along events to strategy
- base strategy updated to forward new events to callback
- callbacks now remove 'items' on final result but process them directly when invoked per item
- new callback method to deal with retry attempt messages (also now obeys nolog)
- updated tests to match new signature of task_executor
fixes #14558
fixes #14072
9 years ago
Brian Coca
6eb4633b07
always return a checksum key, even if empty
9 years ago
Peter Sprygada
fc57b88356
Merge pull request #14618 from ogenstad/devel
...
Fixes authentication error bug when user has rsa keys
9 years ago
James Cammarata
6cf6130468
Fixing/cleaning up do/until logic in TaskExecutor
...
* Fixes bug where the task was not marked as failed if the number of
retries were exceeded (#14461 )
* Reorganizing logic to be a bit cleaner, and so retrie messages are
shown before sleeping (which makes way more sense)
Fixes #14461
Fixes #14580
9 years ago
Matt Martz
cacb74aeeb
Merge pull request #14340 from sivel/uri-no-httplib2
...
Add RedirectHandler class for controlling redirects in urllib2
9 years ago
Matt Martz
3e9408e317
Add some additional integration tests that mix SSL verification and redirects
9 years ago
Matt Martz
27a55d3f33
Merge pull request #14586 from sivel/python-facts
...
Add python info to facts
9 years ago
Matt Martz
3ac0143cf1
Merge pull request #13654 from sivel/paramiko-proxy-command
...
Add ProxyCommand support to the paramiko connection plugin
9 years ago
Matt Martz
38b663471d
Merge pull request #14311 from sivel/unsafe-yaml-constructor
...
Add new 'unsafe' YAML constructor
9 years ago
Matt Martz
d9a207f24f
Add has_sslcontext fact as well
9 years ago
Matt Martz
7158eb489f
Add python info to facts
9 years ago
Brian Coca
7766a9a688
Merge pull request #14620 from dagwieers/improve-templates
...
Put the advice to the user as comments in the template
9 years ago
Brian Coca
877c8c76ff
Merge pull request #14623 from kustodian/update-doc-with-ansible-vault-password-file
...
Adds ANSIBLE_VAULT_PASSWORD_FILE to the documentation site
9 years ago