Commit graph

12047 commits

Author SHA1 Message Date
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
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
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
James Cammarata
dcc8d73935 Fixing new ignore scripts option logic and name for the npm module 2014-09-02 12:13:15 -05:00
James Cammarata
2a43dc2ddf Merge branch 'npm-ignore-scripts' of https://github.com/tkellen/ansible into tkellen-npm-ignore-scripts 2014-09-02 12:09:31 -05:00
James Cammarata
f44957de5c Merge pull request #8818 from Erethon/devel
Handle exceptions during config file parsing
2014-09-02 11:24:10 -05:00
James Cammarata
35dfbff2e1 Merge pull request #8817 from meatballhat/support-sunos-certs-location
Supporting SSL cert location on SunOS (SmartOS, really)
2014-09-02 11:22:14 -05:00
James Cammarata
3367c0ab8e Merge pull request #8803 from stygstra/quantum_subnet-docs
Fix description on quantum_subnet module
2014-09-02 11:08:35 -05:00
James Cammarata
64cb88aa3b Merge pull request #8802 from garywu/patch-3
Update playbooks_variables.rst
2014-09-02 11:06:00 -05:00
James Cammarata
1880279bfe Tweaking logical assignment of vm_metadata in abiquo inventory script 2014-09-02 11:00:12 -05:00
James Cammarata
eb8de9646c Merge pull request #8801 from danfaizer/devel
Corrected VM metadata obtention between Abiquo versions
2014-09-02 10:58:35 -05:00
James Cammarata
4698f85eac Merge pull request #8789 from retr0h/retr0h/add-role-path-to-role-file
Can override each role's install path
2014-09-02 10:44:44 -05:00
James Cammarata
bee1f8f420 Merge pull request #8788 from eest/service-service_enable_rcconf-changed
service: use self.changed in service_enable_rcconf().
2014-09-02 10:29:41 -05:00
James Cammarata
570425d306 Merge pull request #8775 from AdmiralNemo/portage-changed-use
portage: Add support for --changed-use
2014-09-02 10:15:27 -05:00
James Cammarata
21ed2baadf Merge pull request #8773 from mrevilme/ec2_fix_instances_list
Always return a list even if its empty.
2014-09-02 10:02:06 -05:00
Matt Martz
55ed4489e3 Perform region validation early to be more explicit about invalid region failures 2014-09-02 09:17:40 -05:00
Michal Gasek
11d5656fde docs: Add versionadded for run_once 2014-09-02 11:42:32 +02:00
Chris Church
a0635ebb0d Merge pull request #8847 from jhawkesworth/win_facts_use_cert_from_winrm_configuration
window facts. Select certificate to check for expiry from winrm configuration
2014-09-01 17:43:02 -04:00