summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix bin/ansible to not make a double traceback on python3 (#15972)Michael Scherer2016-06-021-1/+6
|
* Controller-side module caching.Toshio Kuratomi2016-04-121-8/+15
| | | | | | | | | This makes our recursive, ast.parse performance measures as fast as pre-ziploader baseline. Since this unittest isn't testing that the returned module data is correct we don't need to worry about os.rename not having any module data. Should devise a separate test for the module and caching code
* moved display's debug lock to cli as globalBrian Coca2016-04-081-0/+4
|
* draft 1st release of ansible-consoleBrian Coca2016-03-071-0/+1
| | | | | | | | | | porting @dominis 's ansible-shell tool from 1.9 and integrating it into ansible added verbosity control made more resilitent to several errors added highlight color, to configurable colors more resilient on exception and interruptions prompt coloring, goes red and changes to # when using become = true and root become setting is now explicit and not a toggle
* Transform tracebacks into unicode before printingToshio Kuratomi2016-01-251-1/+2
| | | | Fixes #14042
* Changing the way workers are forkedJames Cammarata2015-12-111-0/+1
|
* Migrate cli and dependencies to use global displayToshio Kuratomi2015-11-111-1/+1
|
* narrow the scope of import error and make sure non - aliases to ansible get ↵Brian Coca2015-11-021-5/+9
| | | | their own error
* made cli code more flexible to add new command line programs w/o need for ↵Brian Coca2015-11-021-14/+11
| | | | updating bin/ansible
* now correctly traps unimplemented symlinks as subprogramsBrian Coca2015-11-021-6/+7
|
* Revert "capture some install issues and give out a slightly nicer error"Toshio Kuratomi2015-10-271-5/+0
| | | | | | | This reverts commit e6b1dc45e1f8fb0040579622239d26eddf65aefe. This is not ready yet and it's causing failures in some environments (travis)
* capture some install issues and give out a slightly nicer errorBrian Coca2015-10-271-0/+5
|
* Add python3-compat boilerplate to all .py files in lib/ansibleToshio Kuratomi2015-10-191-1/+1
|
* Improve handling of unicode errorsJames Cammarata2015-10-081-4/+5
| | | | Fixes #12669
* Revert "Allow exceptions to pass through the program"Brian Coca2015-08-061-6/+2
| | | | | | breaks handling constants.py errors gracefully This reverts commit 59f96d713e7ca9994403409d021b891609ce4906.
* Allow exceptions to pass through the programWill Thames2015-08-061-2/+6
| | | | | | | This is useful when using `ipython --pdb -- $(which ansible-playbook) ...` for debugging. Also show traceback when `ANSIBLE_DEBUG` is on
* added wrap_text to 'last resort' as it fails if there is an error in callbacksBrian Coca2015-07-241-1/+3
|
* Don't wrap text on most errorsJames Cammarata2015-07-231-3/+3
|
* Allow full exception tracebacks to be displayed with increased verbosityJames Cammarata2015-07-071-1/+9
|
* Don't wrap text for AnsibleParserErrorMarc Abramowitz2015-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows not messing up the wonderful error reporting that is carefully created. Instead of: $ ansible-playbook foo.yml [ERROR]: ERROR! 'foo' is not a valid attribute for a Task The error appears to have been in '/Users/marca/dev/git-repos/ansible/foo.yml': line 4, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: do something ^ here we get: $ ansible-playbook foo.yml ERROR! 'foo' is not a valid attribute for a Task The error appears to have been in '/Users/marca/dev/git-repos/ansible/foo.yml': line 4, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: do something ^ here which is much nicer.
* now has display of last resortBrian Coca2015-07-051-8/+18
| | | | | moved all display/color/err to use display.error now also capture generic exceptions if they happen (never should!)
* now traps exceptions on display instantiationBrian Coca2015-07-051-1/+2
|
* switched to argv[0] from __file__ as it is what we actually wantedBrian Coca2015-06-091-1/+1
|
* slight changes to error handling to align with v1Brian Coca2015-05-131-4/+14
|
* Making the switch to v2James Cammarata2015-05-036-2287/+42
|
* Fix --force-handlers, and allow it in plays and ansible.cfgJesse Rusak2015-04-101-1/+2
| | | | | | | The --force-handlers command line argument was not correctly running handlers on hosts which had tasks that later failed. This corrects that, and also allows you to specify force_handlers in ansible.cfg or in a play.
* Allow ansible-galaxy to install symlinksJames Cammarata2015-03-231-1/+1
|
* avoid path issues by determining the path of ansible-pull and using its path ↵Steve Gargan2015-03-171-3/+6
| | | | to run ansible and ansible-playbook
* fix issue with ask pass signatureBrian Coca2015-03-111-1/+1
|
* preliminary privlege escalation unification + pbrunBrian Coca2015-03-102-52/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | - become constants inherit existing sudo/su ones - become command line options, marked sudo/su as deprecated and moved sudo/su passwords to runas group - changed method signatures as privlege escalation is collapsed to become - added tests for su and become, diabled su for lack of support in local.py - updated playbook,play and task objects to become - added become to runner - added whoami test for become/sudo/su - added home override dir for plugins - removed useless method from ask pass - forced become pass to always be string also uses to_bytes - fixed fakerunner for tests - corrected reference in synchronize action plugin - added pfexec (needs testing) - removed unused sudo/su in runner init - removed deprecated info - updated pe tests to allow to run under sudo and not need root - normalized become options into a funciton to avoid duplication and inconsistencies - pushed suppored list to connection classs property - updated all connection plugins to latest 'become' pe - includes fixes from feedback (including typos) - added draft docs - stub of become_exe, leaving for future v2 fixes
* added list-tags option and also show tags in list-tasks optionBrian Coca2015-03-091-9/+20
|
* fix ansible-doc listing with new docstringBrian Coca2015-03-041-1/+1
| | | | fixes #10295
* Merge pull request #9129 from lotia/develBrian Coca2015-02-261-2/+1
|\ | | | | Clean up template comment text in ansible-galaxy
| * Clean up template comment text in ansible-galaxyAli Asad Lotia2014-09-241-2/+1
| | | | | | | | | | | | Since support for non-galaxy templates is available in 1.8, the existing comment in the default_meta_template requiring specified dependencies be available via galaxy was no longer valid. That comment is now removed.
* | Merge pull request #10183 from bcoca/tag_controlBrian Coca2015-02-251-22/+4
|\ \ | | | | | | adds complex tag management
| * | added testsBrian Coca2015-02-131-22/+4
| | | | | | | | | | | | | | | | | | refactored task selection into method list-tasks now uses common method of task selection always is now skippable if specified in --skip-tags
* | | ansible-doc now shows return value docsBrian Coca2015-02-191-1/+6
|/ /
* | Allow ansible (ad-hoc) to support --extra-vars alsoMatt Martz2015-02-113-16/+7
| |
* | Add issue_tracker_url to the galaxy templateMonty Taylor2015-02-101-0/+4
| | | | | | | | | | | | There is an optional issue_tracker_url setting that can be set in meta/main.yml:galaxy_info. Include it in the generated template commented out so that it can be filled out if desired.
* | Merge pull request #10189 from boxofrad/develBrian Coca2015-02-091-1/+1
|\ \ | | | | | | Ignore errors from `shutil.rmtree` when removing temporary directory
| * | Ignore errors from `shutil.rmtree` when removing temporary directoryDaniel Upton2015-02-091-1/+1
| | |
* | | Merge pull request #10174 from dago/solarisBrian Coca2015-02-091-1/+6
|\ \ \ | |/ / |/| | Use termios instead of stty for compatibility
| * | Use termios instead of stty for compatibilityDagobert Michelsen2015-02-061-1/+6
| | |
* | | Fix for v1 handling of unicode extra-varsToshio Kuratomi2015-02-021-2/+4
| | |
* | | Fix #6346. Add key_file and accept_hostkey to ansible-pullMax Riveiro2015-01-311-1/+13
| | | | | | | | | | | | Signed-off-by: Max Riveiro <kavu13@gmail.com>
* | | Merge pull request #9404 from mmoya/configure-retry-filesBrian Coca2015-01-301-1/+1
|\ \ \ | | | | | | | | Configure retry file usage and location
| * | | Configure retry file usage and locationMaykel Moya2014-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new settings for managing retry files: * retry_files_enabled, defaults to True * retry_files_save_path, defaults to ~/.ansible-retry This change was adapted from PR #5515.
* | | | Only write actual errors to stderrSören Tempel2015-01-301-2/+2
| |/ / |/| |
* | | ignore VERSION file in ansible-docrpe-github2015-01-221-1/+1
| | |
* | | Allow ansible-playbook to determine if an invalid limit is specifiedToshio Kuratomi2015-01-191-2/+16
| | |