Brian Coca
b0bed27211
minor doc fixes
2016-02-26 16:46:26 -05:00
James Cammarata
01d835700b
Cleaning up some py version problems with ActionBase unit tests
2016-02-26 16:22:35 -05:00
Brian Coca
cbc797a7ed
added missing :
2016-02-26 16:27:10 -05:00
Brian Coca
a3489408a5
fixes to playbooks_directives generation
...
order is now predictable
now correctly substitutes loop for with_
adds local_action to action
2016-02-26 16:18:55 -05:00
Brian Coca
512d3dd621
with_ loops always should want a list
2016-02-26 14:56:54 -05:00
Brian Coca
528f073bfa
update core subref
2016-02-26 13:51:38 -05:00
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).
2016-02-26 10:29:37 -08:00
Toshio Kuratomi
ef8bec18bf
Use a unicode format string so that we don't convert to byte strings
...
Fixes #14349
2016-02-26 10:29:37 -08:00
James Cammarata
3518a05db6
Starting to expand unit tests for ActionBase plugin class
2016-02-26 12:47:59 -05:00
Dag Wieers
0eca47cf91
Avoid merging a dict and a AnsibleUnicode
...
This is the same fix we applied to v1.9 in PR #14565 , however it does not fix #14678 completely !
The dictionaries are not being merged as tey are on v1.9.
2016-02-26 15:03:51 +01:00
Brian Coca
3e28ee0fd4
avoid printing internal loop and loop_args
2016-02-25 19:58:44 -05:00
Gabriel Burkholder
c4ecbad663
Cleans up extra whitespace in ansible.cfg
2016-02-25 14:22:19 -08:00
Brian Coca
ad5a6e7993
updated submodule refs
2016-02-25 17:23:20 -05:00
Brian Coca
e60fef4dbe
Merge pull request #14660 from dagwieers/doc-hybrid-plugin
...
Added a section wrt. hybrid plugins and provide an example for lookup…
2016-02-25 17:19:46 -05:00
Brian Coca
fbdcb22e36
now generate list of playbook ojbect directives
...
TODO: needs links/info and conditionals added
2016-02-25 16:48:37 -05:00
James Cammarata
771f1e31a9
Rework the way ad-hoc filters inventory to match how cli/playbook does it
2016-02-25 12:36:44 -05:00
Brian Coca
e2d2798a42
hosts can be list or string
2016-02-25 11:30:41 -05:00
Brian Coca
2d56293768
default play name to hosts entry
...
return to previous behaviour as now the name was left blank
2016-02-25 11:25:17 -05:00
Dag Wieers
e5600ee204
Turn it in correct reStructuredText
...
Why not AsciiDoc is beyond me, as it is much easier for documentation.
2016-02-25 17:12:24 +01:00
Joel
b3aa373932
Update the profile task callback plugin to include a fix for duplicate named tasks. Added additional features to adjust the number of tasks output and the sort order.
2016-02-25 10:02:36 -06:00
Dag Wieers
c1d90e3f2d
Added a section wrt. hybrid plugins and provide an example for lookup plugins
2016-02-25 17:01:28 +01:00
Brian Coca
064cdec6ff
added note for verbosity
2016-02-24 19:22:15 -05:00
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.
2016-02-24 12:36:50 -06:00
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
2016-02-24 13:10:49 -05:00
Toshio Kuratomi
9c9cce51ab
Update submodule refs
2016-02-24 08:53:28 -08:00
Brian Coca
fe0543ebdb
Merge pull request #14642 from chouseknecht/role_install
...
Updated auto-install-roles proposal.
2016-02-24 11:16:20 -05:00
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
2016-02-24 11:09:40 -05:00
chouseknecht
66756078f3
Updated auto-install-roles proposal.
2016-02-24 11:05:17 -05:00
Brian Coca
03c33053aa
clarified become options do not imply others
...
fixes #14635
2016-02-24 10:58:40 -05:00
brianlycett
4160a3f40b
Update YAMLSyntax.rst
...
A brief explanation was added regarding multi-line values.
2016-02-24 15:06:21 +00:00
James Cammarata
8e0c8ffe7b
Merge pull request #14512 from scottsb/patch-1
...
Fix leftover references to sudo instead of become
2016-02-24 09:18:32 -05:00
Etherdaemon
06977d5cb1
Fixup boto3_conn as commit 6ea772931f
broke commit 27398131cf
2016-02-24 16:41:30 +10:00
James Cammarata
2db3f290ba
Fix logic error when copying files recursively to a directory
2016-02-23 16:29:57 -05:00
James Cammarata
9de24a3735
Assert things against the recursive copy result to make sure it did something
2016-02-23 16:29:08 -05:00
Brian Coca
34541b4e5e
preserve no_log for async also
2016-02-23 15:37:39 -05:00
James Cammarata
d74ea51287
Submodule update
2016-02-23 15:18:40 -05:00
James Cammarata
da02aba173
Don't inject PlayContext properties as variables if they're None
...
Fixes bug introduced in 078ebb0
2016-02-23 15:07:51 -05:00
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
2016-02-23 15:07:06 -05:00
Brian Coca
6eb4633b07
always return a checksum key, even if empty
2016-02-23 15:07:14 -05:00
Peter Sprygada
fc57b88356
Merge pull request #14618 from ogenstad/devel
...
Fixes authentication error bug when user has rsa keys
2016-02-23 14:14:20 -05:00
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
2016-02-23 13:17:51 -05:00
Matt Martz
cacb74aeeb
Merge pull request #14340 from sivel/uri-no-httplib2
...
Add RedirectHandler class for controlling redirects in urllib2
2016-02-23 11:53:16 -06:00
Matt Martz
3e9408e317
Add some additional integration tests that mix SSL verification and redirects
2016-02-23 11:48:09 -06:00
Matt Martz
27a55d3f33
Merge pull request #14586 from sivel/python-facts
...
Add python info to facts
2016-02-23 11:31:06 -06:00
Matt Martz
3ac0143cf1
Merge pull request #13654 from sivel/paramiko-proxy-command
...
Add ProxyCommand support to the paramiko connection plugin
2016-02-23 11:30:43 -06:00
Matt Martz
38b663471d
Merge pull request #14311 from sivel/unsafe-yaml-constructor
...
Add new 'unsafe' YAML constructor
2016-02-23 11:29:53 -06:00
Matt Martz
d9a207f24f
Add has_sslcontext fact as well
2016-02-23 11:28:04 -06:00
Matt Martz
7158eb489f
Add python info to facts
2016-02-23 10:38:41 -06:00
Brian Coca
7766a9a688
Merge pull request #14620 from dagwieers/improve-templates
...
Put the advice to the user as comments in the template
2016-02-23 09:44:39 -05:00
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
2016-02-23 09:34:08 -05:00