summaryrefslogtreecommitdiff
path: root/bin/ansible-playbook
Commit message (Collapse)AuthorAgeFilesLines
* Modernize install (#76021)Matt Martz2021-10-191-1/+1
| | | | | Co-authored-by: Matt Clay <matt@mystile.com> Co-authored-by: Matt Davis <mrd@redhat.com> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Making the switch to v2James Cammarata2015-05-031-330/+1
|
* 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.
* fix issue with ask pass signatureBrian Coca2015-03-111-1/+1
|
* preliminary privlege escalation unification + pbrunBrian Coca2015-03-101-20/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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
|
* 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
* Allow ansible (ad-hoc) to support --extra-vars alsoMatt Martz2015-02-111-15/+1
|
* Fix for v1 handling of unicode extra-varsToshio Kuratomi2015-02-021-2/+4
|
* 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.
* | Allow ansible-playbook to determine if an invalid limit is specifiedToshio Kuratomi2015-01-191-2/+16
| |
* | Converted empty inventory error to warningJacopo2015-01-171-0/+2
| |
* | Removed early check for empty inventoryJacopo2014-12-301-2/+0
| |
* | Fix for not all platforms having optional libraries at the proper versions.Toshio Kuratomi2014-12-161-1/+9
| |
* | Merge pull request #7306 from abadger/feature/egg-infoBrian Coca2014-12-151-2/+2
|\ \ | |/ |/| Feature/egg info
| * Restore the pkg_resources calls so that we pull in the correct pycrypto on RHEL6Toshio Kuratomi2014-05-061-2/+2
| |
* | Avoid multiple blank lines with --syntax-checkSerge van Ginderachter2014-08-221-1/+2
| | | | | | | | | | | | Only print a blank line between plays when also doing --list-hosts and/or --list-tasks, otherwise this output just a long list of blank lines, one for each play.
* | Merge pull request #8367 from msabramo/make_pip_install_editable_workMichael DeHaan2014-08-151-0/+8
|\ \ | | | | | | Make `pip install -e` work
| * | Make `pip install -e` workMarc Abramowitz2014-07-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows `pip install -e` and `python setup.py develop` to work without having to do the stuff in http://docs.ansible.com/intro_installation.html#running-from-source so it's a tad nicer for Python programmers who are accustomed to installing packages as editable/in development mode. Fixes GH-8355 (https://github.com/ansible/ansible/issues/8355)
* | | Use JSON instead of pickles for compatibility.Michael DeHaan2014-08-111-1/+1
| | |
* | | Implement fact cache flushing alongside a command-line argument to invoke it.Josh Drake2014-08-111-1/+6
|/ /
* | Merge pull request #7649 from sivel/vault-password-scriptJames Cammarata2014-07-141-11/+3
|\ \ | | | | | | Allow --vault-password-file to work with a script as well as a flat file
| * | Allow --vault-password-file to work with a script as well as a flat fileMatt Martz2014-06-241-11/+3
| | |
* | | Merge remote-tracking branch 'svg/varsplugins_refactor' into ↵James Cammarata2014-07-071-8/+5
|\ \ \ | |/ / |/| | | | | svg_and_inventory_refactor
| * | Move inventory.set_playbook_basedir from ansible-playbook to playbook ↵Serge van Ginderachter2014-03-251-3/+0
| | | | | | | | | | | | constructor
| * | Refactor vars_plugins (host/group_vars)Serge van Ginderachter2014-03-251-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split out parsing of vars files to per host and per group parsing, instead of reparsing all groups for each host. This enhances performance. Extend vars_plugins' API with two new methods: * get host variables: only parses host_vars * get group variables: only parses group_vars for specific group The initial run method is still used for backward compatibility. Parse all vars_plugins at inventory initialisation, instead of per host when touched first by runner. Here we can also loop through all groups once easily, then parse them. This also centralizes all parsing in the inventory constructor. modified: bin/ansible modified: bin/ansible-playbook modified: lib/ansible/inventory/__init__.py modified: lib/ansible/inventory/vars_plugins/group_vars.py
* | | Enable use of vault password for --syntax-check, --list-hosts and --list-tasksAnton Lindström2014-05-201-14/+17
| |/ |/|
* | Commenting out pkg_resources lines for now, as they break hacking/env-setupJames Cammarata2014-04-291-2/+2
| |
* | Merge branch 'feature/multi-version-import' of ↵James Cammarata2014-04-291-0/+3
|\ \ | | | | | | | | | https://github.com/abadger/ansible into abadger-feature/multi-version-import
| * | Require a recent enough version of pycrypto and see that playbook and vault ↵Toshio Kuratomi2014-03-141-0/+3
| | | | | | | | | | | | ues it.
* | | Merge pull request #6585 from eggsby/patch-3jctanner2014-04-041-1/+1
|\ \ \ | | | | | | | | Allow vault encrypted vars as extra_vars
| * | | Allow vault encrypted vars as extra_varsThomas Omans2014-03-191-1/+1
| | | | | | | | | | | | Forward the vault_password to the yaml file utility.
* | | | Addresses #4109 Remove debug print statementJames Tanner2014-03-271-1/+0
| | | |
* | | | Fixes #4109 Filter plays by tags when using --list-hostsJames Tanner2014-03-271-5/+11
| |_|/ |/| |
* | | Merge pull request #6681 from zytek/develjctanner2014-03-251-1/+1
|\ \ \ | | | | | | | | Properly revert changes introduced in #6579
| * | | Strip() vault password fileJakub Paweł Głazik2014-03-251-1/+1
| |/ /
* | | Fixes #4777 add --force-handlers option to run handlers even if tasks failJames Tanner2014-03-241-1/+4
| | |
* | | Fixes #6579 allow for vault passwords ending with newline charsJames Tanner2014-03-191-3/+0
|/ / | | | | | | Also add a unit test for vaulteditor to verify 1.0 passwords with newline chars.
* | Merge pull request #5895 from trbs/listtasks_honors_limitMichael DeHaan2014-03-161-1/+3
|\ \ | |/ |/| make --list-tasks honor --limit
| * make --list-tasks honor --limittrbs2014-02-061-1/+3
| |
* | Addresses #6188 Add --vault-password-file to bin/ansible and ↵James Tanner2014-02-261-0/+18
| | | | | | | | bin/ansible-playbook
* | Fixes #6082 Set vault password to None by defaultJames Tanner2014-02-191-0/+2
| |
* | Ansible vault: a framework for encrypting any playbook or var file.James Tanner2014-02-181-2/+6
| |
* | Revert "Revert "Merge pull request #5325 from angstwad/add-su-support""Paul Durivage2014-01-201-2/+16
| | | | | | | | | | | | | | This reverts commit c17d0e0357f1f3bdc7389eaa3171444fccda8b76. Conflicts: lib/ansible/runner/connection_plugins/paramiko_ssh.py
* | Revert "Merge pull request #5325 from angstwad/add-su-support"James Tanner2014-01-201-16/+2
| | | | | | | | | | This reverts commit 6f4bfa2cff4b1bbc78146b505e5e0bc8b82eb4c2, reversing changes made to c91ba3a7c739cdedb95a5829439a35c76ee62ac6.
* | Make sudo and su command line arguments mutually exclusivePaul Durivage2014-01-201-0/+7
| |
* | Proposing fix for Issue #4324; adding support for su in connection plugins ↵Paul Durivage2014-01-201-2/+9
| | | | | | | | | | | | ssh, ssh_alt Fixes for ssh_alt support, adding in references to in_data where appropriate
* | Don't show tracebacks on Control-C.Michael DeHaan2013-12-261-0/+3
| |
* | Merge pull request #4706 from mvo5/bugfix/more-syntax-checkjctanner2013-11-141-1/+1
|\ \ | | | | | | load tasks/vars includes in syntax-check mode as well