| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
refactored task selection into method
list-tasks now uses common method of task selection
always is now skippable if specified in --skip-tags
|
| |
|
| |
|
|\
| |
| | |
Configure retry file usage and location
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Feature/egg info
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Make `pip install -e` work
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Allow --vault-password-file to work with a script as well as a flat file
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | | |
svg_and_inventory_refactor
|
| | |
| | |
| | |
| | | |
constructor
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/| |
|
| | |
|
|\ \
| | |
| | |
| | | |
https://github.com/abadger/ansible into abadger-feature/multi-version-import
|
| | |
| | |
| | |
| | | |
ues it.
|
|\ \ \
| | | |
| | | | |
Allow vault encrypted vars as extra_vars
|
| | | |
| | | |
| | | | |
Forward the vault_password to the yaml file utility.
|
| | | | |
|
| |_|/
|/| | |
|
|\ \ \
| | | |
| | | | |
Properly revert changes introduced in #6579
|
| |/ / |
|
| | | |
|
|/ /
| |
| |
| | |
Also add a unit test for vaulteditor to verify 1.0 passwords with newline chars.
|
|\ \
| |/
|/| |
make --list-tasks honor --limit
|
| | |
|
| |
| |
| |
| | |
bin/ansible-playbook
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit c17d0e0357f1f3bdc7389eaa3171444fccda8b76.
Conflicts:
lib/ansible/runner/connection_plugins/paramiko_ssh.py
|
| |
| |
| |
| |
| | |
This reverts commit 6f4bfa2cff4b1bbc78146b505e5e0bc8b82eb4c2, reversing
changes made to c91ba3a7c739cdedb95a5829439a35c76ee62ac6.
|
| | |
|
| |
| |
| |
| |
| |
| | |
ssh, ssh_alt
Fixes for ssh_alt support, adding in references to in_data where appropriate
|
| | |
|
|\ \
| | |
| | | |
load tasks/vars includes in syntax-check mode as well
|