Commit graph

3152 commits

Author SHA1 Message Date
James Tanner
272c3634cd sysctl module: append newline character to lines in the file 2014-01-15 10:25:27 -05:00
Michael DeHaan
cb6f7748d5 All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ).
Fixing for standardization purposes.
2014-01-15 09:52:17 -05:00
René Moser
587103e564 subversion: use LANG=C to prevent regex failures
Fixes bug GH-5549.
2014-01-15 10:05:31 +01:00
jctanner
da9cd8e018 Merge pull request #5490 from rgbj/devel
user module/OpenBSD: using login_class always makes status 'changed'
2014-01-14 14:44:51 -08:00
jctanner
c8615e32ad Merge pull request #5472 from RSpiertz/apt_repository
apt_repository: don't crash if default_file doesn't exist
2014-01-14 14:26:19 -08:00
jctanner
7bab8656a3 Merge pull request #5435 from jkleckner/fix-mysql-dump-import
mysql_db module: make dump and import to use port argument
2014-01-14 13:06:33 -08:00
jctanner
9779206142 Merge pull request #5426 from lichesser/debian_release_4565
setup module: Partial fix for #4565, reporting Debian release version. Works only for Debian 7 and later
2014-01-14 13:00:08 -08:00
James Tanner
42dab7bed8 Fixes #5601 Do not append extra args when checking for pip command options 2014-01-14 14:22:37 -05:00
jctanner
a2489ac83c Merge pull request #5141 from kisielk/hg
hg module: Don't modify hgrc when running purge
2014-01-14 10:24:37 -08:00
jctanner
799e51ca25 Merge pull request #5383 from janitha/devel
Fixes #5381 bug when easy_install is used with virtualenv
2014-01-14 08:52:12 -08:00
jctanner
fdfa7b3640 Merge pull request #5349 from sergevanginderachter/httpmonbugfix
bigip_monitor_http: two small bug fixes
2014-01-14 08:31:30 -08:00
jctanner
7996027f98 Merge pull request #5323 from zroger/django-manage-virtualenv-fix
django_manage module: need not require virtualenv in PATH
2014-01-14 08:02:36 -08:00
James Tanner
1b712ec48d sysctl module: fail if reloading the file did not succeed 2014-01-14 10:48:57 -05:00
jctanner
95131937df Merge pull request #5282 from rhaido/hard_link_fix
file module: Added to the file module the functionality to force conversion hard link...
2014-01-14 07:15:46 -08:00
Michael DeHaan
84c9e4a624 Merge pull request #5616 from resmo/fix/zypper_repo
zypper_repository: claims to support check_mode, but does not.
2014-01-14 06:02:42 -08:00
Michael DeHaan
77f9519f01 Merge pull request #5604 from dbrgn/devel
apt_key module: Case insensitive presence checking
2014-01-14 06:01:08 -08:00
Michael DeHaan
56548a5727 Merge pull request #5613 from Oneiroi/mysql_user_grant_documentation
Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous
2014-01-14 06:00:22 -08:00
Rene Moser
beac8292d5 zypper_repository: claims to support check_mode, but does not. Fixes GH-5614. 2014-01-14 14:20:18 +01:00
David Busby
ab8d5c5924 Documentation update to yield example of "WITH GRANT OPTION" which is undocumented previous 2014-01-14 12:04:32 +00:00
Danilo Bargen
0d55cca4c3 apt_key module: Case insensitive presence checking
Right now key_present() is case sensitive, only uppercase key IDs work. By using "grep -i", lowercase IDs should work too.
2014-01-14 01:11:40 +01:00
James Tanner
f0b842b28b Fixes #5469 Refactor sysctl module into object oriented code,
and add a sysctl_set parameter to manage the values in /proc
2014-01-13 18:53:02 -05:00
James Tanner
13ce8728de Set accept_hostkey to False by default in the git module and fail
early if the key is unknown
2014-01-11 11:02:01 -05:00
James Tanner
24eba74edd Add an "accept_hostkey" parameter to the git module to help automatically
accept hostkeys for git repos and prevent task hangs when the key is unknown
2014-01-11 10:36:45 -05:00
Michael DeHaan
7fbe046708 Merge pull request #5562 from sivel/rax-clb-node-to-dict
rax_clb module: Ensure the id attribute is returned for a node
2014-01-09 14:58:03 -08:00
Matt Martz
414855560e Ensure the id attribute is returned for a node 2014-01-09 14:05:32 -06:00
inetfuture(Aaron Wang)
a3eb6fb532 Fix npm documentation typo. 2014-01-09 08:53:17 +08:00
Michael DeHaan
e88f45e586 Merge pull request #5543 from jlund/improved-password-documentation
Improved the documentation for password generation
2014-01-07 19:28:11 -08:00
lichesser
0f0edf6914 Remove debugging code
I guess this is left over from testing
2014-01-08 02:34:59 +01:00
Joshua Lund
e0a720b8b2 Improved the documentation for password generation 2014-01-07 18:20:39 -07:00
James Tanner
c74b99ca63 Fixes #5369 Do not pass --force-yes to aptitude 2014-01-07 15:53:28 -05:00
James Tanner
154a99529c Fixes #5353 create etc/hostname file in debian if it does not exist 2014-01-07 15:53:16 -05:00
jctanner
4cd821e9d9 Merge pull request #5404 from sivel/rax-improvements
rax module: improvements
2014-01-07 15:52:35 -05:00
Michael DeHaan
0fdcb8ea69 Merge pull request #5528 from dverhelst/devel
Adding support for detecting RHEV Hypervisor in ansible_virtualization_type
2014-01-07 15:51:21 -05:00
jctanner
51fc8ef0a0 Merge pull request #5311 from willthames/ec2_refactor
ec2 modules: Move more responsibility to common EC2 module
2014-01-06 14:09:38 -08:00
jctanner
87b58666f9 Merge pull request #5264 from drewlll2ll/file-fix
file module: Fixed missing prev_state == 'directory' in file
2014-01-06 14:07:07 -08:00
Michael DeHaan
600f7bcdf0 Merge pull request #5489 from daghoidahl/devel
Use "brew list <name>" instead of grepping the output of "brew list". Fix for #5488
2014-01-04 10:52:03 -08:00
Paul Beattie
31f81c3a1b Fixed typo in example documentation 2014-01-04 00:22:14 +00:00
James Tanner
f723311601 Resolves issues with newer versions of pip not having a --use-mirrors paramater for the install command 2014-01-03 15:29:18 -05:00
rgbj
fa5a448983 On OpenBSD, make user module status 'changed' only if necessary when using 'login_class' parameter 2014-01-03 15:41:12 +01:00
Dag Høidahl
bec49768d1 Use "brew list <name>" instead of grepping the output of "brew list".
Some brew packages are not listed with their package name, e.g. libjpeg.
2014-01-03 15:15:20 +01:00
jctanner
6f16ea6d49 Merge pull request #5167 from jaspernbrouwer/devel
service_module: Fixed false positive on initctl as enable_cmd
2014-01-02 20:24:00 -08:00
Michael DeHaan
a11e5d609e Basic docsite formatting fixups 2014-01-02 17:36:52 -05:00
James Tanner
e2c7aeca4c Fixes #5040 setup module: do not add primary interface info to the secondary interface data 2014-01-02 16:17:24 -05:00
Jim Kleckner
8ba9019797 Add quotes to password argument for dump/import
The password is passed on a command line for dump and import and needs
quoting.

Ideally, this would not be passed on a command line at all - any ideas?
Or at least have a stronger form of quoting so that embedded single
quotes will be escaped.
2014-01-02 12:04:03 -08:00
Rutger Spiertz
a471f6c993 apt_repository: don't crash if default_file doesn't exist 2014-01-02 15:41:24 +01:00
Michael DeHaan
50c600c361 Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog 2013-12-30 20:21:15 -05:00
Michael DeHaan
0a3293cf53 add a note about raw/endraw 2013-12-27 15:01:27 -05:00
Jim Kleckner
2903c7b568 Fix documentation example for the fail module
The example for the fail module doesn't work:
  http://www.ansibleworks.com/docs/modules.html#fail

The current text shows:
    - fail: msg="The system may not be provisioned according to the CMDB status."
      when: "{{ cmdb_status }} != 'to-be-staged'"

The "when" documentation indicates that the argument is already a Jinja2
expression:
  http://www.ansibleworks.com/docs/playbooks_conditionals.html#the-when-statement

Thus, the following is
      when: cmdb_status != "to-be-staged"

is preferred even though the following could work but generates a
deprecation warning:
      when: {{cmdb_status != "to-be-staged"}}
2013-12-26 16:32:32 -08:00
Jim Kleckner
59396d38e2 Fix mysql_db dump and import to use port argument
The code for mysql_db did not pass the port argument when state=dump or
state=import.
2013-12-26 16:21:16 -08:00
Mikhail Sobolev
ecf78e8c93 fix short/full description for elasticache 2013-12-26 14:35:57 -05:00