Commit graph

3882 commits

Author SHA1 Message Date
Daniel Jaouen
64e354bdc0 Add homebrew_tap module. 2014-03-16 16:17:11 -04:00
Michael DeHaan
e2c0b7d209 Merge pull request #6120 from lalinsky/apt_repository_pycurl_non_ppa
Don't require pycurl in apt_repository when it's not actually needed
2014-03-16 15:15:57 -05:00
Michael DeHaan
eaf77d4a61 Bump version_added field on composer module. 2014-03-16 16:12:02 -04:00
Michael DeHaan
29a3a1d516 Move facts to 'module_utils' so they can be referenced by other modules. Note unlike other module_utils/ dirs this keeps the original
license -- so usage of facts code in modules will be limited to GPLv3 modules.
2014-03-16 16:12:02 -04:00
dmtrs
bacebbb94b Add module composer (php dependency manager) 2014-03-16 16:12:02 -04:00
Michael DeHaan
c9f1b57f11 Merge pull request #6405 from fabianfreyer/devel
Add support for new pkgng repository format and annotations
2014-03-16 14:43:56 -05:00
Michael DeHaan
d2c1f1dd36 Merge pull request #6512 from tarka/jira-module-pr
Add a JIRA control module for Ansible.
2014-03-16 14:34:38 -05:00
Michael DeHaan
9a0e2afe08 Merge pull request #6375 from sivel/nexmo
New module: nexmo
2014-03-16 14:34:18 -05:00
Michael DeHaan
4ec2a79aae 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
c914e9e462 Update setup module signature from merge commit. 2014-03-16 14:11:43 -04:00
Ali Asad Lotia
fc5aa9ac28 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
ec14b25e23 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
5886cf6a1a 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
cac81b1ad9 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
988f0c1646 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
c47a4c7463 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
790a38e25d Merge conflict. 2014-03-16 13:36:52 -04:00
Michael DeHaan
0281dbf2f2 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
201297cbfe Merge pull request #6175 from AdmiralNemo/fix-filesystem
filesystem: Ignore blkid cache
2014-03-16 12:31:53 -05:00
Michael DeHaan
d4de77fd45 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
bf33be20e1 Merge pull request #6005 from pgehres/chkconfig
Adding better failure output for chkconfig failures
2014-03-16 12:27:46 -05:00
Michael DeHaan
bc9c40135a Merge pull request #5909 from joeybaker/patch-1
NPM install latest made more effecient
2014-03-16 12:25:51 -05:00
Cristian Ciupitu
a416dba3d1 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
7f681c33a2 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
77e6dded62 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
c3e8a51374 Remove nova_fip (redundant merge relative to quantum module) 2014-03-16 12:29:19 -04:00
Steve Smith
ba1bffde5d Add a JIRA control module for Ansible. This version uses fetch_url rather than urllib2. 2014-03-16 17:14:04 +01:00
follower
75ce001230 Fix typo
"a the" -> "the"
2014-03-17 00:23:16 +13:00
Brian Coca
7ca6343ca3 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
4f1ccfd66f Merge pull request #6504 from follower/patch-2
Fix typo
2014-03-15 09:15:53 -05:00
Michael DeHaan
6f3a093258 Merge pull request #6502 from follower/patch-1
Fix typo in example name
2014-03-15 09:15:17 -05:00
follower
5beee66d1d Fix typo
"resort" -> "result"
2014-03-15 20:04:38 +13:00
follower
7b14469f9e Fix typo in example name 2014-03-15 19:16:14 +13:00
Brian Coca
5dd041ae7e fixed bad detection of change on default and premature break 2014-03-15 01:10:15 -04:00
tmperret
dbec576633 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
6b43e6cd50 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
4f3f2e0f95 New module: nexmo 2014-03-14 11:06:25 -05:00
Michael DeHaan
e9f6496582 Fix docs for ec2_lc module. 2014-03-14 12:01:23 -04:00
Michael DeHaan
7eb48d9d85 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
59fb47ae9a Fixes #6482 Check sysctl file path and catch read exceptions 2014-03-14 11:16:45 -04:00
James Laska
2638cc9a49 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
0c70cc123e 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
ec8b67bea8 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
931c527397 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
66fe9c0ac4 Documentation updates 2014-03-13 16:18:50 -05:00
James Cammarata
564fbb55de Fix small typo resulting in a traceback for the apt_key module 2014-03-13 13:51:59 -05:00
patrickheeney
4bc663092f Fix documentation for accept_hostkey 2014-03-13 07:58:12 -07:00
Philippe Pepiot
f9d1809a70 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
35b4cf001c 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
122917019c mysql_db module: typo fix
Tests clean.
2014-03-12 23:25:22 -05:00