Commit Graph

15119 Commits (0fcd53e887eb69abe177358a5558a80340197f73)
 

Author SHA1 Message Date
James Cammarata 0fcd53e887 Make sure the command is sudoable before checking for the become password
Fixes #11714
9 years ago
Brian Coca e49575ff56 added wrap_text to 'last resort' as it fails if there is an error in callbacks 9 years ago
James Cammarata 8146a193eb Fix strategy base unit tests after 88e1ef8 9 years ago
James Cammarata e526743b4f Allowing `args: "{{some_var}}"` for task params again
This is unsafe and we debated re-adding it to the v2/2.0 codebase,
however it is a common-enough feature that we will simply mark it
as deprecated for now and remove it at some point in the future.

Fixes #11718
9 years ago
Brian Coca 681eab1158 fix adhoc that broke with assuming step is always in options 9 years ago
Brian Coca 88e1ef8c9b implemented --step in v2 9 years ago
James Cammarata f6a08ce1ba Adding a note about chaining filters after default(omit)
Fixes #10164
9 years ago
Brian Coca 3bf1edfd96 Merge pull request #11591 from defionscode/boto3
Connection function for boto3
9 years ago
James Cammarata 7bc789ba64 Properly template task names
Also fixes in the correct way the bug in which the role name was
incorrectly showing up twice in the task name.

Fixes #10347
9 years ago
James Cammarata 698479a623 Add config file info to --version output
Fixes #10348
9 years ago
James Cammarata 37ed756d66 Make sure role names are strings
Fixes #10497
9 years ago
James Cammarata 469aa0c26a Don't wrap text on most errors 9 years ago
Toshio Kuratomi f8e4aff4c1 Cleanups:
* Don't reference __class__ when we can use the instance itself
* use isdisjoint() as it can stop once a match is found
* Remove a condtional that was taken care of in the conditonal just above
9 years ago
Brian Coca 4e3f5e3be6 Merge pull request #11708 from bcoca/display_me
adding display to plugins and start moving debug to display
9 years ago
Brian Coca 78df37db8a updated submodule refs 9 years ago
Brian Coca a6ba149c49 implemented simplified output for adhoc adn command modules as in v1 9 years ago
James Cammarata 65ae9780fa Merge pull request #11079 from amegianeg/fix_broad_except_in_inventory
Avoid too broad except in Inventory
9 years ago
Brian Coca 35a5e011bb Merge pull request #11703 from snetting/update_man1
Update man1
9 years ago
Toshio Kuratomi e7733a7d3a Update submodule refs 9 years ago
Brian Coca 851ed45bbf adding display to plugins and start moving debug to display 9 years ago
Brian Coca 5d51f3abda Merge pull request #11704 from sheldonh/env-setup-preserve-oldpwd
Preserve OLDPWD in hacking/env-setup
9 years ago
Sheldon Hearn c800a1c68a Preserve OLDPWD 9 years ago
Toshio Kuratomi b06353791c Don't pass mode from synchronize action plugin to the ansible module
Fixes https://github.com/ansible/ansible-modules-core/issues/1783
9 years ago
snetting 15669d98ca correct ansible-playbook man1 9 years ago
Brian Coca b678b9828c simplified and normalized lookup search path behaviour 9 years ago
James Cammarata 857f584ebf Merge pull request #11699 from ahamilton55/ah/delegate_variable
v2: Fixing delegate_to when using a variable
9 years ago
Brian Coca b9050ecf18 fixed file lookup pathing in dwim functinos, now does specific paths and priorities and is commented
fixes #11672 as cwd is now not part of thos paths:
if full path is supplied, used that
9 years ago
Andrew Hamilton 7254b22bf4 Fixing delegate_to when using a variable 9 years ago
James Cammarata d412bc72ef Fall back to paramiko if the smart detection fails to run ssh
Fixes #11695
9 years ago
James Cammarata dfcf6a2016 Skip hosts with no state while iterating tasks in the linear strategy
Fixes #11693
9 years ago
James Cammarata 206ef27268 Add flag to template() so data is not converted to a datastructure
Fixes #11641
9 years ago
James Cammarata 7a9916422a Fixing up error handling for fetch_file ops in connection plugins
* enable batch mode (configurable with a config option, on by default)
  for sftp transfers, so we can catch errors more easily
* general cleanup in the local connection plugin and fetch action plugin

Fixes #11612
9 years ago
James Cammarata 993ce592b1 Update unit tests for flush_handlers fix 9 years ago
James Cammarata 4b6525fb58 Fix handler flushing to match how v1 worked
Also adds meta tasks to the list of tasks excluded from tag filtering

Fixes #11574
9 years ago
Toshio Kuratomi d0dcf73716 Update module refs 9 years ago
James Cammarata 135404738e Fix a couple start-at-task issues
* added pattern matching to match v1 functionality
* check the task name, not the task+role name for matches
* make sure the input is unicode

Fixes #11692
9 years ago
James Cammarata 975172c1ef Make sure role name doesn't end up in task name more than once
Fixes #11691
9 years ago
snetting 4693531851 update ansible man1 9 years ago
James Cammarata b09f1f8e0b Account for filters in bare variable conversion
Fixes #11530
9 years ago
Brian Coca ae54792a35 Merge pull request #11688 from amenonsen/8935-rebase
8935 rebase: add «-o outputfile» and -n(oexec) options to hacking/test-module
9 years ago
Brian Coca d3fe9b3194 Merge pull request #11084 from echiu64/devel
More complex example of using test-module
9 years ago
Abhijit Menon-Sen 8342cc6b61 Fix existing typo, remove trailing space added by PR commit 9 years ago
Will Thames b05485d4b3 Add options to control output and execution of test-module
test-module is useful but sometimes you want to edit the
result before running it to e.g. set a debug point.

Added a noexecute option (i.e. just create the module script, don't
run it) and an output option to choose the filename of the result.
9 years ago
Brian Coca 8729543cee Merge pull request #11687 from jeffwidman/patch-1
Remove mention of 'apache example'
9 years ago
Jeff Widman 52716c4dc7 Remove mention of 'apache example'
Removed explicit mention of 'apache'
9 years ago
Brian Coca f2fcc39513 Merge pull request #11686 from ZviRackover/patch-1
Fix: add missing import 'locale'
9 years ago
ZviRackover 628925a77d Fix: add missing import 'locale' 9 years ago
Brian Coca 048cd755d9 Merge pull request #11683 from dirn/patch-1
Fix formatting of Groups of Groups
9 years ago
James Cammarata 4c733fe4b7 Fix issues with vars_prompt and vars_files
* Prompt had to be moved up, as it needed to be done before the first
  templating of the play occurs, otherwise vars_files won't be templated
  properly
* Fixed a bug related to an earlier fix of vars_files incorporating
  extra vars to do the templating of the file name

Fixes #11404
9 years ago
Andy Dirnberger 02589ffbba Fix formatting of Groups of Groups
The example in the Groups of Groups section was being rendered as a quote.
Switching to the `::` notation causes it to render as preformatted text instead.
This could have also been done with a `.. code:` block, but I chose to be
consistent with other sections in the document.
9 years ago