Commit graph

12071 commits

Author SHA1 Message Date
Serge van Ginderachter
2474ce5819 Exit with rc 1 if role doesn't exist/is not found
fixes #8823
	modified:   bin/ansible-galaxy
2014-09-09 21:57:23 +02:00
Michael DeHaan
0179c13e04 update issue template link 2014-09-09 12:50:54 -04:00
James Cammarata
eaa5257588 Replacing the issues template with the updated one from examples 2014-09-09 11:10:49 -05:00
James Cammarata
31984f0dc3 Moving the github issue template file to this repo 2014-09-09 10:59:53 -05:00
James Cammarata
aa46fcf096 Add error checking to ansible-galaxy to verify the roles_path is valid 2014-09-09 10:59:53 -05:00
Toshio Kuratomi
b79c98e22c Merge remote-tracking branch 'abadger/feature/s3-region' into devel
Conflicts:
	library/cloud/s3
2014-09-09 08:49:27 -07:00
Toshio Kuratomi
1064aa693b Update documentation for s3 use of region 2014-09-09 08:46:03 -07:00
Toshio Kuratomi
efbe655b80 Remove redundant "idempotent" from documentation 2014-09-09 08:46:03 -07:00
Toshio Kuratomi
a56767c49c Allow specifying which region to create a new S3 bucket in 2014-09-09 08:46:03 -07:00
James Cammarata
30119a2c3f Merge pull request #8933 from alxgu/fix_zypp_repo_url
zypper_repository: Remove trailing "/"
2014-09-09 09:26:20 -05:00
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