Commit graph

12166 commits

Author SHA1 Message Date
Alexander Gubin
bce8ac55b3 zypper_repository: Remove trailing "/". Identifies "logically" identical repos.
Example: ftp://download.nvidia.com/opensuse/12.2 == ftp://download.nvidia.com/opensuse/12.2/
2014-09-09 09:22:08 +02:00
James Cammarata
dc1f233e8d Merge pull request #8923 from nfelger/devel
Fixing issue with symlinked vaults
2014-09-08 22:08:49 -05:00
James Cammarata
062b761737 Merge pull request #8922 from hkariti/bigpanda_state_fix
Don't return 'state' attr in bigpanda module
2014-09-08 22:06:53 -05:00
James Cammarata
3f0fd4ce97 Merge pull request #8921 from willthames/get_url_timeout
get_url module: Add timeout parameter
2014-09-08 22:06:24 -05:00
Toshio Kuratomi
9e9ce25ddd Document how to use region in s3 module 2014-09-08 16:02:08 -07:00
Toshio Kuratomi
29821a0d24 Enable region parameter to specify new bucket location 2014-09-08 15:59:24 -07:00
James Cammarata
c610783f90 Merge pull request #8911 from bbasleeper/devel
Adding a new 'load_callback_plugins' config option, defaults to False
2014-09-08 15:38:27 -05:00
James Cammarata
b71bcb04f9 Merge pull request #8902 from mathieumd/devel
Remove namespace restrictions in ec2_metric_alarm
2014-09-08 14:48:52 -05:00
James Cammarata
7b4df6e98e Fixing ansible-galaxy bug introduced in 399fe322 2014-09-08 13:20:51 -05:00
Niko Felger
fa74a5c806 Fixing issue with symlinked vaults 2014-09-08 16:10:18 +02:00
James Cammarata
1711df3b75 Allow complex_args to be None 2014-09-08 08:44:53 -05:00
Hagai Kariti
fbedbe8d7d Don't return 'state' attr in bigpanda module
Fixes a double parameter being passed afterwards
2014-09-08 11:06:49 +03:00
Will Thames
1a1272dfe7 get_url module: Add timeout parameter 2014-09-08 13:58:25 +10:00
Michael DeHaan
8604f6dcd9 Merge pull request #8912 from nathansoz/devel
Documentation edit for vsphere_guest module
2014-09-07 14:09:54 -04:00
Nathan Sosnovske
2d6e697c27 Noted in documentation that standalone esxi hosts should use ha-datacenter for the datacenter string 2014-09-06 15:04:06 -07:00
Bruno BAILLUET
16108e4a99 Adding a new 'load_callback_plugins' config option, defaults to False
This option, when set to True, allows "ansible" command to load callback plugins
2014-09-06 16:41:16 +02:00
Mathieu MD
9a29fee991 Remove namespace restrictions in ec2_metric_alarm
Fixes #7970
2014-09-05 22:09:29 +02:00
James Cammarata
8cc3543918 Re-allow templating of complex_args, but count params to prevent injection
Fixes #8810
2014-09-05 14:24:05 -05:00
James Cammarata
8bafc646cb Disable custom https handler for fetch_url on older pythons
Fixes #8898
2014-09-05 13:48:45 -05:00
James Cammarata
f14dba8b2f Don't re-add galaxy deps if they've already been added for install
Fixes #8890
2014-09-05 12:53:49 -05:00
Toshio Kuratomi
8233522a7a Reduce commenting as basic.py is copied to the remote host with every module transfer.
Move some comments to the unittest as we might look at that if we decide
to refactor the code.
2014-09-05 07:39:17 -07:00
Toshio Kuratomi
d293a46994 Unittests to detect speed regressions in password obfuscation and that
the passwords are correctly hidden in the output.
2014-09-04 18:03:49 -07:00
Toshio Kuratomi
1afc8161a1 New password obfuscation in syslog messages that:
* makes speed acceptable for some datasets
* obfuscates multiple detected passwords
* obfuscates more characters to account for some corner cases when
  trying to detect passwords.

Fixes #8364
2014-09-04 17:57:52 -07:00
Toshio Kuratomi
4f55bcc298 Standardize on bytes internally to _log_invocation 2014-09-04 11:23:32 -07:00
Michael DeHaan
7545e3066d URL typo. 2014-09-04 14:04:16 -04:00
Michael DeHaan
7928b572e3 AnsibleFest banner for doc site (for the next month or so) 2014-09-04 14:03:08 -04:00
James Cammarata
42febef0dd Merge pull request #8888 from alxgu/fix_zypp_repo_absent
Fix for #8886. Correct state=absent for statements without name/alias.
2014-09-04 11:02:09 -05:00
James Cammarata
8019bc63de Merge pull request #8882 from mscherer/better_ssh_debug
Make ssh debug easier to read and paste
2014-09-04 10:07:30 -05:00
James Cammarata
690904aae3 Merge pull request #8880 from kvar/fix_zypper_typo
fix typo in zypper module (requiered -> required)
2014-09-04 10:06:51 -05:00
James Cammarata
286ab6a079 Merge pull request #8868 from mike-d-d/fix-route_tables-default
Fix #8666 for real
2014-09-04 10:00:40 -05:00
tepwil
ae0f80c6e8 Fixing bug in cross-zone load balancing enablement
Fixes #8861
2014-09-04 09:53:41 -05:00
James Cammarata
9adde1eab0 Fix instance comparison for deps in bin/ansible-galaxy
Fixes #8884
2014-09-04 09:35:03 -05:00
Alexander Gubin
7b98294903 Fix for #8886. Correct state=absent for statements without name/alias. 2014-09-04 14:35:39 +02:00
Michael Scherer
53830123fd Make ssh debug easier to read and paste
Currently, ansible -vvvv show the following:

    hostname EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto',

This is not good if someone want to cut and paste it to see if something
is wrong with the command line, so join the dictionnary strings with spaces
to have 1 string in the output.
2014-09-03 21:04:14 +02:00
Kristofor Varhus
fc0675889e fix typo in zypper module (requiered -> required) 2014-09-03 13:03:59 -04:00
Michael DeHaan
5a7cbdda7e Merge pull request #8873 from RichardBarrell/issue-8872
Issue 8872: use getpass.getpass() to read password.
2014-09-03 12:20:38 -04:00
James Cammarata
758a0bbeb7 Adding ignore_scripts option to the argument_spec for npm 2014-09-03 10:24:09 -05:00
James Cammarata
cd99821f8a Fix py26 difference in ssl socket connect call from 99ba9d6 2014-09-03 10:04:02 -05:00
James Cammarata
14b8e2cf01 Make sure set_fact variables go into VARS_CACHE
Fixes #8758
2014-09-03 09:39:50 -05:00
Richard Barrell
bed2eb36d3 Issue 8872: use getpass.getpass() to read password.
This avoids passing the plaintext raw password into the script as a
command-line argument, which shells such as bash and zsh will
typically log into a file like ~/bash_history.

As a small bonus, this works a LOT more smoothly if the user's
password has characters in it that either the shell or Python syntax
might like to interpret as metacharacters, like '\' or '"'.

getpass.getpass() is part of Python's standard library in all versions
between 2.4 and 3.3 at least.
2014-09-03 12:41:11 +01:00
Mike Dixon
4510f2e5a1 Fix #8666 for real
Commit 311ec543af ("If not specified, do not modify subnet/route_tables for ec2 VPCs") mostly fixed the problem, except that it left defaults for subnets and route_tables so that not specifying them still deleted them.
2014-09-02 19:16:39 -07:00
Michal Gasek
5b5103e6b4 Add support for filtering EC2 instances in dynamic inventory
This allows filtering out EC2 instances based on various different
filters including tags. As requested in 7480 it supports logical "OR"
instead of "AND" on the provided list of filters.
2014-09-03 00:50:28 +02:00
James Cammarata
893f15b30b Merge pull request #8856 from sivel/memcached-factcache-improvements
Memcached factcache improvements
2014-09-02 13:58:56 -05:00
James Cammarata
c1ce64bd5d Merge pull request #8850 from michalgasek/run-once-docs-fix
docs: Add versionadded for run_once
2014-09-02 13:53:27 -05:00
James Cammarata
cb2520a73a Merge pull request #8843 from resmo/fix/boilerplate
zabbix_maintenance: move to new boilerplate
2014-09-02 13:44:24 -05:00
Matt Martz
9bc9145abd Compress all data inserted into memcached to avoid memcached size limits 2014-09-02 13:19:37 -05:00
Matt Martz
2a4079eeb6 Update format fields to work with python2.6 2014-09-02 13:17:47 -05:00
James Cammarata
b827f791e1 Merge pull request #8832 from sivel/rax-validate-regions
rax modules: Perform region validation early
2014-09-02 13:03:31 -05:00
James Cammarata
5b3c2097d8 Merge pull request #8831 from swindmill/devel
Add additional Azure Regions
2014-09-02 13:02:44 -05:00
James Cammarata
bfad2a8c6b Merge branch 'tkellen-npm-ignore-scripts' into devel 2014-09-02 12:18:30 -05:00