Commit Graph

18360 Commits (27b02e8f6cabb343d06c36569b47022728381635)
 

Author SHA1 Message Date
Toshio Kuratomi b70bf3b056 Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3 8 years ago
Toshio Kuratomi c29f51804b Fix mixing of bytes and str in module replacer (caused traceback on python3) 8 years ago
Brian Coca b0bed27211 minor doc fixes 8 years ago
James Cammarata 01d835700b Cleaning up some py version problems with ActionBase unit tests 8 years ago
Brian Coca cbc797a7ed added missing : 8 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
8 years ago
Brian Coca 512d3dd621 with_ loops always should want a list 8 years ago
Brian Coca 528f073bfa update core subref 8 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).
8 years ago
Toshio Kuratomi ef8bec18bf Use a unicode format string so that we don't convert to byte strings
Fixes #14349
8 years ago
James Cammarata 3518a05db6 Starting to expand unit tests for ActionBase plugin class 8 years ago
Brian Coca 3e28ee0fd4 avoid printing internal loop and loop_args 8 years ago
Gabriel Burkholder c4ecbad663 Cleans up extra whitespace in ansible.cfg 8 years ago
Brian Coca ad5a6e7993 updated submodule refs 8 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…
8 years ago
Brian Coca fbdcb22e36 now generate list of playbook ojbect directives
TODO: needs links/info and conditionals added
8 years ago
James Cammarata 771f1e31a9 Rework the way ad-hoc filters inventory to match how cli/playbook does it 8 years ago
Brian Coca e2d2798a42 hosts can be list or string 8 years ago
Brian Coca 2d56293768 default play name to hosts entry
return to previous behaviour as now the name was left blank
8 years ago
Dag Wieers e5600ee204 Turn it in correct reStructuredText
Why not AsciiDoc is beyond me, as it is much easier for documentation.
8 years ago
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. 8 years ago
Dag Wieers c1d90e3f2d Added a section wrt. hybrid plugins and provide an example for lookup plugins 8 years ago
Brian Coca 064cdec6ff added note for verbosity 8 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.
8 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
8 years ago
Toshio Kuratomi 9c9cce51ab Update submodule refs 8 years ago
Brian Coca fe0543ebdb Merge pull request #14642 from chouseknecht/role_install
Updated auto-install-roles proposal.
8 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
8 years ago
chouseknecht 66756078f3 Updated auto-install-roles proposal. 8 years ago
Brian Coca 03c33053aa clarified become options do not imply others
fixes #14635
8 years ago
James Cammarata 8e0c8ffe7b Merge pull request #14512 from scottsb/patch-1
Fix leftover references to sudo instead of become
8 years ago
Etherdaemon 06977d5cb1 Fixup boto3_conn as commit 6ea772931f broke commit 27398131cf 8 years ago
James Cammarata 2db3f290ba Fix logic error when copying files recursively to a directory 8 years ago
James Cammarata 9de24a3735 Assert things against the recursive copy result to make sure it did something 8 years ago
Brian Coca 34541b4e5e preserve no_log for async also 8 years ago
James Cammarata d74ea51287 Submodule update 8 years ago
James Cammarata da02aba173 Don't inject PlayContext properties as variables if they're None
Fixes bug introduced in 078ebb0
8 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
8 years ago
Brian Coca 6eb4633b07 always return a checksum key, even if empty 8 years ago
Peter Sprygada fc57b88356 Merge pull request #14618 from ogenstad/devel
Fixes authentication error bug when user has rsa keys
8 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
8 years ago
Matt Martz cacb74aeeb Merge pull request #14340 from sivel/uri-no-httplib2
Add RedirectHandler class for controlling redirects in urllib2
8 years ago
Matt Martz 3e9408e317 Add some additional integration tests that mix SSL verification and redirects 8 years ago
Matt Martz 27a55d3f33 Merge pull request #14586 from sivel/python-facts
Add python info to facts
8 years ago
Matt Martz 3ac0143cf1 Merge pull request #13654 from sivel/paramiko-proxy-command
Add ProxyCommand support to the paramiko connection plugin
8 years ago
Matt Martz 38b663471d Merge pull request #14311 from sivel/unsafe-yaml-constructor
Add new 'unsafe' YAML constructor
8 years ago
Matt Martz d9a207f24f Add has_sslcontext fact as well 8 years ago
Matt Martz 7158eb489f Add python info to facts 8 years ago
Brian Coca 7766a9a688 Merge pull request #14620 from dagwieers/improve-templates
Put the advice to the user as comments in the template
8 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
8 years ago