Commit graph

3772 commits

Author SHA1 Message Date
Michael DeHaan
33a1f65565 Merge pull request #6375 from sivel/nexmo
New module: nexmo
2014-03-16 14:34:18 -05:00
Michael DeHaan
7286beb15e Merge pull request #6515 from lotia/fix-acl-doc-and-error
Fix acl doc and error
2014-03-16 13:15:42 -05:00
Michael DeHaan
eef5a8a847 Update setup module signature from merge commit. 2014-03-16 14:11:43 -04:00
Ali Asad Lotia
4a006a78b3 Whitespace fixes in incompatible param check
- Remove extra whitespace in conditional that checks if etype, entity or
  permissions are also set when entry is set.
2014-03-16 17:49:36 +00:00
Michael DeHaan
5c05982dea Merge pull request #6448 from jirutka/fix-5679-2
Fix #5679 again after recent changes in core
2014-03-16 12:43:10 -05:00
Michael DeHaan
eaef86d22b Merge pull request #6355 from hkariti/npm_install_invalid
Add a package to missing list if npm list reported it as invalid
2014-03-16 12:41:03 -05:00
Michael DeHaan
92f9f50f1a Merge pull request #6339 from threatgrid/systemd-template-svc-fix
systemd template services must not discard template part
2014-03-16 12:40:44 -05:00
Michael DeHaan
8d3e2fe79a Merge pull request #6323 from aresch/rpm_key_query_fix
Fix rpm_key on system with no gpg keys imported
2014-03-16 12:40:11 -05:00
Michael DeHaan
1211160cdb Merge pull request #6289 from rawtaz/fix-irc-nicklen
Make irc module accept the nick being shortened by the server.
2014-03-16 12:39:48 -05:00
Michael DeHaan
2b2b174fd3 Merge conflict. 2014-03-16 13:36:52 -04:00
Michael DeHaan
0939a83174 Merge pull request #6203 from garetharmstronghp/fix_rpm_key_issue_5621
Fix issue #5621, rpm_key doesn't work for el5
2014-03-16 12:32:28 -05:00
Michael DeHaan
8a07d98f4b Merge pull request #6175 from AdmiralNemo/fix-filesystem
filesystem: Ignore blkid cache
2014-03-16 12:31:53 -05:00
Michael DeHaan
8920990d63 Merge pull request #6097 from mattjeffery/bug/modprobe_normalise_name
Normalise the module name when comparing against the module names in /proc/modules
2014-03-16 12:31:17 -05:00
Michael DeHaan
5aef2f0687 Merge pull request #6005 from pgehres/chkconfig
Adding better failure output for chkconfig failures
2014-03-16 12:27:46 -05:00
Michael DeHaan
af7c252ba4 Merge pull request #5909 from joeybaker/patch-1
NPM install latest made more effecient
2014-03-16 12:25:51 -05:00
Cristian Ciupitu
138b45e32f hostname module: don't filter hostnamectl with awk
There's no need to filter hostnamectl's output with awk because its man
page says:

    hostnamectl [OPTIONS...] {COMMAND}

       --static, --transient, --pretty
	   If status is used (or no explicit command is given) and one
	   of those fields is given, hostnamectl will print out just
           this selected hostname.

E.g. hostnamectl --static status => ansible.example.org
2014-03-16 13:10:28 -04:00
Cristian Ciupitu
0749112286 Micro-optimization: replace s.find(x)!=-1 with x in s
timeit shows a speedup of ~3x on Python 2.7.5 x86_64.
It also makes the code a bit shorter.
2014-03-16 13:10:28 -04:00
Ali Asad Lotia
9180013682 Fix acl module doc and error messages
- Fix typos in module doc
- Provide clearer error message when entry and etype are both missing
2014-03-16 16:41:37 +00:00
Michael DeHaan
d186196901 Remove nova_fip (redundant merge relative to quantum module) 2014-03-16 12:29:19 -04:00
Steve Smith
9a8a8dfb2a Add a JIRA control module for Ansible. This version uses fetch_url rather than urllib2. 2014-03-16 17:14:04 +01:00
follower
c4f20be774 Fix typo
"a the" -> "the"
2014-03-17 00:23:16 +13:00
Brian Coca
2d25577e11 Fixes and cleanup to file functions and module
- unified set attribute functions ... not sure why 2 identical functions
exist with diff names, now there are 3 while i repoint all modules to 1
- fixed issue with symlinks being created w/o existing src when force=no
- refactored conditionals, simplified where possible
- added tests for symlink to nonexistant source, with both force options
- made symlink on existing attomic (force)
2014-03-15 13:54:24 -04:00
Michael DeHaan
01b7465a03 Merge pull request #6504 from follower/patch-2
Fix typo
2014-03-15 09:15:53 -05:00
Michael DeHaan
9e8a4c9d23 Merge pull request #6502 from follower/patch-1
Fix typo in example name
2014-03-15 09:15:17 -05:00
follower
af6109c169 Fix typo
"resort" -> "result"
2014-03-15 20:04:38 +13:00
follower
e05e57e0a9 Fix typo in example name 2014-03-15 19:16:14 +13:00
Brian Coca
b81a3bbb20 fixed bad detection of change on default and premature break 2014-03-15 01:10:15 -04:00
tmperret
94198690c1 Made load_balencers in ec2_lc non-required as not all ASGs require an ELB 2014-03-14 22:39:57 +00:00
Michael DeHaan
8082f74798 Add GCE guide and retool a bit to show the add_host interactions, improvements/upgrades are welcome.
Had to shoot the recently merged nova_group module in the head temporarily as it contained a dict comprehension, which means it can't work on all the platforms
and was also breaking docs builds on CentOS.  Will engage with list about that shortly.
2014-03-14 15:02:22 -04:00
Matt Martz
e2bfa86484 New module: nexmo 2014-03-14 11:06:25 -05:00
Michael DeHaan
30cdac6061 Fix docs for ec2_lc module. 2014-03-14 12:01:23 -04:00
Michael DeHaan
34f961157d Merge pull request #6491 from jlaska/apt_repository_signing_fix
[apt_repository] Correct check_mode conditional logic
2014-03-14 10:21:31 -05:00
James Tanner
9d6518de5a Fixes #6482 Check sysctl file path and catch read exceptions 2014-03-14 11:16:45 -04:00
James Laska
5cfefb326a Correct check_mode conditional logic
The desired behavior is to _not_ add the ppa signing key when check_mode is
enabled.  This fix corrects the conditional logic to comply with the stated
behavior.
2014-03-14 10:24:52 -04:00
Patrick Gerken
38d6956c1f Properly catch import errors in apt
When one accidentally tries to run this module as a user, he gets the error message that python-apt must be installed, no matter what. Because importing apt will trigger an exception as a regular user. Explicitly catching the ImportError will let the exception bubble. The exception clearly says Permission denied somewhere, and the user has a better idea, what he must fix.
2014-03-14 02:13:20 +01:00
Michael DeHaan
9eb3f8779c Merge pull request #6468 from philpep/fix_apt_key
apt_key: Fix traceback when key_id format is invalid
2014-03-13 17:58:40 -05:00
Michael DeHaan
9c189ed7a4 Merge pull request #6470 from patrickheeney/doc-git-fix
Fix documentation for accept_hostkey in GIT module
2014-03-13 17:57:56 -05:00
Paul Durivage
32996bf121 Documentation updates 2014-03-13 16:18:50 -05:00
James Cammarata
b93b99871b Fix small typo resulting in a traceback for the apt_key module 2014-03-13 13:51:59 -05:00
patrickheeney
fae36165a2 Fix documentation for accept_hostkey 2014-03-13 07:58:12 -07:00
Philippe Pepiot
92e8e59cad apt_key: Fix traceback when key_id format is invalid
Signed-off-by: Philippe Pepiot <phil@philpep.org>
2014-03-13 15:28:37 +01:00
Richard Isaacson
e6f6a73328 Merge pull request #6461 from risaacson/modules_make_run_command_safer
Modules make run command safer
2014-03-12 23:28:06 -05:00
Richard C Isaacson
2b53ece3ab mysql_db module: typo fix
Tests clean.
2014-03-12 23:25:22 -05:00
Richard C Isaacson
427221786c Shell updates. 2014-03-12 22:15:56 -05:00
James Cammarata
bd16cce3e9 Merge pull request #6460 from jsmartin/riak-bugfix
Fixes various typos, fetch_url now working, changed command composure for wait_for_service
2014-03-12 21:56:39 -05:00
James Cammarata
ccc0a8cbb0 Fix regression in dnsmadeeasy module caused by fetch_url change
Also:
* changed this module to use https for requests to the API
* fixed a bug in which a traceback was caused when the domain wasn't found

Fixes #6457
2014-03-12 20:48:22 -05:00
James Martin
3d032b9db9 Fixes various typos introduced in a9017af2bb.
Fixes odd encoding problem with wait_for_service.
2014-03-12 21:26:16 -04:00
Daniel Jaouen
81f2e43b76 Fix Homebrew._current_package_is_installed 2014-03-12 19:52:16 -04:00
Michael DeHaan
78ebf5d266 Still more shell fixes. 2014-03-12 17:44:53 -04:00
Michael DeHaan
98500b335b Fixup shell handling in monit module. 2014-03-12 17:43:31 -04:00
Michael DeHaan
dac90278db More shell fixes 2014-03-12 17:43:31 -04:00
James Tanner
6067d826e4 Close parens in portinstall 2014-03-12 17:36:48 -04:00
Michael DeHaan
4e8b97ddeb More shell updates 2014-03-12 17:31:00 -04:00
James Tanner
e7f74251c8 Fix missing colons in cpanm 2014-03-12 17:25:32 -04:00
James Tanner
89024f5d9f Fix typo in portinstall 2014-03-12 17:12:38 -04:00
Michael DeHaan
c193604f60 Some more run_command updates. 2014-03-12 17:04:34 -04:00
Michael DeHaan
81b4ebbe1d Fixes for run_command shell usage in remainder of packaging modules, save portinstall. 2014-03-12 16:57:18 -04:00
Michael DeHaan
6010e74839 Various commits to enable no-shell or safe-shell usage, more to come. 2014-03-12 16:44:35 -04:00
Patrick Smith
4173608b58 git: Execute git commands in dest directory 2014-03-12 13:28:39 -04:00
Jakub Jirutka
2bfaacd170 Fix #5679 again after recent changes in core 2014-03-12 18:21:53 +01:00
Richard C Isaacson
154f123b7f setup module: Mark unsafe commands as use_unsafe_shell=True. 2014-03-12 11:13:20 -05:00
James Cammarata
d8a81c488e Remove validate_certs parameter from fetch_url calls 2014-03-12 10:31:01 -05:00
James Cammarata
a9017af2bb Adding validate_certs to all modules that use fetch_url 2014-03-12 10:19:54 -05:00
Ryan
e4805fe411 add module param to Network & sub-classes
add module param to Network and sub-classes of Network, so that ansible 1.5.1 changes to LinuxNetwork apply to all Network classes.
2014-03-12 09:37:12 -04:00
Michael DeHaan
c8db3c2db9 Revert "Fix issue#6430 by instantiating Network() with expected arguments"
This reverts commit 2a723e908e.
2014-03-12 09:23:13 -04:00
James Laska
2a723e908e Fix issue#6430 by instantiating Network() with expected arguments 2014-03-12 09:04:42 -04:00
Michael DeHaan
e0147f18b1 Merge pull request #6421 from bcoca/stat_noread_nomd5
now stat skips md5 if file isn't readable
2014-03-12 07:55:17 -05:00
Andy Trevorah
e4ad97b918 reworked apt-repository auto-install to be like yum 2014-03-12 11:15:27 +00:00
Richard Isaacson
681dcf437a Merge pull request #6429 from risaacson/migrate_booleans_bool_django_manage
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:54 -05:00
Richard Isaacson
0fd80f3f6f Merge pull request #6428 from risaacson/migrate_booleans_bool_postgresql_user
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:44 -05:00
Richard Isaacson
d0795a8336 Merge pull request #6427 from risaacson/migrate_booleans_bool_rax_files_objects
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:40 -05:00
Richard Isaacson
a6c89a86f6 Merge pull request #6426 from risaacson/migrate_booleans_bool_rax_files
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:30 -05:00
Richard Isaacson
9bb8c2aa42 Merge pull request #6425 from risaacson/migrate_booleans_bool_rax
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:25 -05:00
Richard Isaacson
2bd97dc8b6 Merge pull request #6424 from risaacson/migrate_booleans_bool_quantum_subnet
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:17 -05:00
Richard Isaacson
125775dc3d Merge pull request #6423 from risaacson/migrate_booleans_bool_gce
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 23:25:08 -05:00
Richard C Isaacson
c1af272ba1 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 23:04:19 -05:00
Richard C Isaacson
c2bf201bce Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:56:51 -05:00
Richard C Isaacson
c3dc195362 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:53:24 -05:00
Richard C Isaacson
3121a7f3ec Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:50:03 -05:00
Richard C Isaacson
86adb60a82 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:46:53 -05:00
Richard C Isaacson
05a1883cb9 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:43:01 -05:00
Richard C Isaacson
1ea5b04e05 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:39:42 -05:00
Richard C Isaacson
e40fd9bb0d Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:36:44 -05:00
Brian Coca
463a1c21ea now stat skips md5 if file isn't readable 2014-03-11 22:50:05 -04:00
jctanner
f1301f6fd9 Merge pull request #6415 from devoncrouse/devel
Fixed references to missing method in ec2 modules
2014-03-11 22:37:19 -04:00
James Tanner
6da2c37112 Fixes #6411 Return None for ec2 api endpoints that return 404 2014-03-11 21:38:00 -04:00
James Tanner
bd3322824f Remove duplicate digital_ocean_droplet module 2014-03-11 20:59:46 -04:00
Devon Crouse
b853778a93 Fixed references to missing method in ec2 modules
Change-Id: I9b89d433b545269d111b3c290b6411aabf58dd24
2014-03-11 18:19:03 -06:00
Michael DeHaan
a689e42d32 Fix ec2_facts module by removing stray fail statement 2014-03-11 19:17:22 -04:00
Michael DeHaan
3b79a36641 Merge pull request #6409 from risaacson/migrate_booleans_bool_ec2_eip
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 17:59:05 -05:00
Michael DeHaan
9b7da52ed7 Merge pull request #6408 from risaacson/migrate_booleans_bool_digital_ocean
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 17:58:46 -05:00
Richard C Isaacson
a1c87e6deb Fix docstring issue. 2014-03-11 16:23:18 -05:00
Richard C Isaacson
1b28e3bf41 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 15:44:34 -05:00
Richard C Isaacson
10f70bee49 Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 15:42:45 -05:00
Richard Isaacson
6e13c1ebe0 Merge pull request #6406 from risaacson/at_module2
This fixes what was merged in 1.5.0.
2014-03-11 15:27:51 -05:00
James Cammarata
10f7a20e60 Merge pull request #5079 from candlerb/candlerb/virt_states
Additional target states for virt module: "destroyed" and "paused"
2014-03-11 15:25:09 -05:00
James Cammarata
11f500fa2f Merge pull request #4630 from mmoya/mysql_variables-fix2
Add support for string values
2014-03-11 15:20:46 -05:00
James Tanner
c73cb77689 Fix name in locale_gen docstring 2014-03-11 16:13:55 -04:00
Michael DeHaan
4a94a5d80a Merge pull request #6400 from vadimkuznetsov/bug5959
bug 5959: https://github.com/ansible/ansible/issues/5959
2014-03-11 15:08:29 -05:00
James Tanner
41b7badb13 Fix snippet imports and version_added in ufw module 2014-03-11 16:07:08 -04:00