Toshio Kuratomi
fbadcfd44f
Fix for not all platforms having optional libraries at the proper versions.
10 years ago
Brian Coca
88443d6dcf
Merge pull request #7306 from abadger/feature/egg-info
...
Feature/egg info
10 years ago
Serge van Ginderachter
ad3d3c7379
Avoid multiple blank lines with --syntax-check
...
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.
10 years ago
Michael DeHaan
3035f2dcc8
Merge pull request #8367 from msabramo/make_pip_install_editable_work
...
Make `pip install -e` work
10 years ago
Michael DeHaan
542aaa6ffe
Use JSON instead of pickles for compatibility.
10 years ago
Josh Drake
917e868f65
Implement fact cache flushing alongside a command-line argument to invoke it.
10 years ago
Marc Abramowitz
44b9f5e752
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 )
10 years ago
James Cammarata
4fc8d4b6fe
Merge pull request #7649 from sivel/vault-password-script
...
Allow --vault-password-file to work with a script as well as a flat file
10 years ago
James Cammarata
fe892fccb1
Merge remote-tracking branch 'svg/varsplugins_refactor' into svg_and_inventory_refactor
11 years ago
Matt Martz
19f5ce2c9c
Allow --vault-password-file to work with a script as well as a flat file
11 years ago
Anton Lindström
0593473389
Enable use of vault password for --syntax-check, --list-hosts and --list-tasks
11 years ago
Toshio Kuratomi
f7b76e0394
Restore the pkg_resources calls so that we pull in the correct pycrypto on RHEL6
11 years ago
James Cammarata
0e7b9e5cfc
Commenting out pkg_resources lines for now, as they break hacking/env-setup
11 years ago
James Cammarata
6879415f25
Merge branch 'feature/multi-version-import' of https://github.com/abadger/ansible into abadger-feature/multi-version-import
11 years ago
jctanner
63f66a0d3b
Merge pull request #6585 from eggsby/patch-3
...
Allow vault encrypted vars as extra_vars
11 years ago
James Tanner
95a283ccaa
Addresses #4109 Remove debug print statement
11 years ago
James Tanner
c1f4142a29
Fixes #4109 Filter plays by tags when using --list-hosts
11 years ago
Serge van Ginderachter
f8ea93c732
Move inventory.set_playbook_basedir from ansible-playbook to playbook constructor
11 years ago
Serge van Ginderachter
f6a55a3552
Refactor vars_plugins (host/group_vars)
...
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
11 years ago
jctanner
adbd6865da
Merge pull request #6681 from zytek/devel
...
Properly revert changes introduced in #6579
11 years ago
Jakub Paweł Głazik
08ba18668b
Strip() vault password file
11 years ago
James Tanner
9169a11088
Fixes #4777 add --force-handlers option to run handlers even if tasks fail
11 years ago
James Tanner
409044155d
Fixes #6579 allow for vault passwords ending with newline chars
...
Also add a unit test for vaulteditor to verify 1.0 passwords with newline chars.
11 years ago
Thomas Omans
1727fddf50
Allow vault encrypted vars as extra_vars
...
Forward the vault_password to the yaml file utility.
11 years ago
Michael DeHaan
0dde3b7080
Merge pull request #5895 from trbs/listtasks_honors_limit
...
make --list-tasks honor --limit
11 years ago
Toshio Kuratomi
0fefab6651
Require a recent enough version of pycrypto and see that playbook and vault ues it.
11 years ago
James Tanner
35def422a3
Addresses #6188 Add --vault-password-file to bin/ansible and bin/ansible-playbook
11 years ago
James Tanner
7fe3db408d
Fixes #6082 Set vault password to None by default
11 years ago
James Tanner
427b8dc78d
Ansible vault: a framework for encrypting any playbook or var file.
11 years ago
trbs
b7df767065
make --list-tasks honor --limit
11 years ago
Paul Durivage
f72f5a20df
Revert "Revert "Merge pull request #5325 from angstwad/add-su-support""
...
This reverts commit c17d0e0357
.
Conflicts:
lib/ansible/runner/connection_plugins/paramiko_ssh.py
11 years ago
James Tanner
c17d0e0357
Revert "Merge pull request #5325 from angstwad/add-su-support"
...
This reverts commit 6f4bfa2cff
, reversing
changes made to c91ba3a7c7
.
11 years ago
Paul Durivage
c95be4ceaa
Make sudo and su command line arguments mutually exclusive
11 years ago
Paul Durivage
4088243deb
Proposing fix for Issue #4324 ; adding support for su in connection plugins ssh, ssh_alt
...
Fixes for ssh_alt support, adding in references to in_data where appropriate
11 years ago
Michael DeHaan
81bc44ccc2
Don't show tracebacks on Control-C.
11 years ago
jctanner
189ec15bd5
Merge pull request #4706 from mvo5/bugfix/more-syntax-check
...
load tasks/vars includes in syntax-check mode as well
11 years ago
jctanner
e08f685507
Merge pull request #3937 from masahide/devel
...
Supports to the playbook of Process Substitution
11 years ago
Michael Vogt
0b82722484
load tasks/vars includes in syntax-check mode as well
11 years ago
Alan Descoins
ebd8e262d3
Fixed -e "" on ansible-playbook.
11 years ago
YAMASAKI Masahide
ac3f05c720
Take out the spaces inside the parenthesis.
11 years ago
YAMASAKI Masahide
7f9313b2b1
Supports to the playbook of Process Substitution
11 years ago
James Cammarata
d9be910e6e
Merge branch 'exit-3-on-dark' of https://github.com/j2sol/ansible into j2sol-exit-3-on-dark
11 years ago
Alek Storm
8c9f84f6f8
Parse --extra-vars as YAML (which includes JSON)
11 years ago
Alek Storm
21d2069a74
Support multiple --extra-vars flags
11 years ago
Jesse Keating
2b96c347dc
Exit with status 3 if no failures but unreachable.
...
Provide hints to playbook callers that a playbook execution had
unreachable vs failures. 2 == failures, 3 == no failures, but
unreachable hosts. 0 continues to be all good.
11 years ago
Michael DeHaan
0988a86653
Misc style fixes.
11 years ago
Andy R
5a47953e7d
Never ask for SSH password when using local connection.
...
With the command line option "-c local", ansible and ansible-playbook
should never ask for a SSH password even if this is set in the config.
Fixes #3720
11 years ago
Alan Descoins
c19c2c7295
ansible-playbook can load extra vars from a file, with "@" syntax
11 years ago
Michael DeHaan
d8e5fc9d1b
Remove task count information from task list.
11 years ago
Alan Descoins
04349ec362
Added --skip-tags option to ansible-playbook.
11 years ago