Commit graph

2159 commits

Author SHA1 Message Date
Dan Robinson
bda2ce6ffd Brings postgresql_db examples in line with documentation.
As of now, the documentation lists a parameter as "name",
whereas the examples use a parameter called "db". This brings
them in line.
2013-08-11 00:41:23 -07:00
Michael DeHaan
5e049a5df7 Merge branch 'fix_service_with_initscript' of git://github.com/psvo/ansible into devel 2013-08-10 18:05:35 -04:00
Michael DeHaan
146bbfecc5 Smite tabs in whitespace. 2013-08-10 17:58:03 -04:00
Michael Scherer
6da44ef002 Fix traceback when openstack do not have OS-EXT-IPS:type attached to address
failed: [127.0.0.1] => {"failed": true, "parsed": false}
    invalid output was: Traceback (most recent call last):
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 1176, in <module>
        main()
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 239, in main
        _get_server_state(module, nova)
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 198, in _get_server_state
        private = [ x['addr'] for x in getattr(server, 'addresses').itervalues().next() if x['OS-EXT-IPS:type'] == 'fixed']
    KeyError: 'OS-EXT-IPS:type'

This extension was added less than 6 month ago, and so cannot be used on a release
older than Grizzly ( like Folsom ).

Commit of the extension : https://review.openstack.org/#/c/21453/

See https://wiki.openstack.org/wiki/ReleaseNotes/Grizzly#Key_New_Features_2
2013-08-09 23:26:12 +02:00
Andy Wilson
bc30203abe docfix: grammar in docstring for sysctl module 2013-08-08 12:23:30 -05:00
Petr Svoboda
e2f20db534 Fix traceback in service module when svc_cmd is None
When service module is used on unsupported Linux system where init
script is used directly, LinuxService.svc_cmd is None so .endswith()
fails.

Fixes issue #3533
2013-08-08 14:24:20 +02:00
Michael DeHaan
cb9c3a8bd7 Merge pull request #3762 from grosskur/fix-apt-noninteractive
apt: Run remove commands noninteractively
2013-08-06 13:41:07 -07:00
Michael DeHaan
0b4e145709 Merge pull request #3772 from lorin/s3-docpatch
Minor doc update to s3 & ec2 modules
2013-08-06 13:30:20 -07:00
Michael DeHaan
0edcbdca05 Merge pull request #3709 from lwade/devel
S3folder
2013-08-06 13:01:43 -07:00
Michael DeHaan
4401557455 add version_added attribute to module docs. 2013-08-06 15:54:20 -04:00
Michael DeHaan
14e6bba001 Merge pull request #3741 from podollb/feature_ec2_vol
adding param to the ec2_vol module allowing custom iops setting when creating EBS volume
2013-08-06 12:53:35 -07:00
Lorin Hochstein
729c03ed88 Minor doc update to s3 & ec2 modules
Adds some additional docs about the module parameters for s3
and ec2 modules.
2013-08-06 12:23:25 -04:00
Michael DeHaan
5f18a53530 Fixup docs formatting. 2013-08-06 10:53:56 -04:00
didiercrunch
15160f2d93 Update supervisorctl
Fixed the example.
2013-08-06 09:06:28 -04:00
Alan Grosskurth
b950f9456a apt: Run remove commands noninteractively
I'm seeing ansible hang when trying to remove a package, and the hung
process is `whiptail` like in #2763. It looks like we only use
`APT_ENVVARS` and `DPKG_OPTIONS` for the `apt` commands in install()
and upgrade(). This change uses them in remove() as well, which fixes
the hang.
2013-08-05 15:20:45 -07:00
Michael DeHaan
2a0d67e6fc Doc formatting/tweaking. 2013-08-05 16:13:50 -04:00
Michael Scherer
cfa5a0f94d Add urpmi as a package manager for mandriva-based distribution 2013-08-04 00:03:50 +02:00
Michael DeHaan
de14995b8c PEP8: fix spacing 2013-08-03 14:55:38 -04:00
Michael DeHaan
4400bbdc55 Newline at end of file. 2013-08-03 14:55:22 -04:00
Michael DeHaan
841fd11f41 Fix PEP8 commenting, but comment seems obvious so just remove it. 2013-08-03 14:55:01 -04:00
Michael DeHaan
a9121fecda Discussed datadog module at OSCON with DD folks, does not make sense to send
event types for anything other than myapps here.
2013-08-03 14:52:06 -04:00
Michael DeHaan
40e447fbd4 Merge pull request #3718 from hacosta/rpm_key
Add rpm_key module
2013-08-03 11:39:10 -07:00
Michael DeHaan
fa647e43ee Merge pull request #3670 from briceburg/devel
NEW MODULE: dnsmadeeasy
2013-08-03 11:31:07 -07:00
Michael DeHaan
cd8d742a89 Merge pull request #3659 from neuroid/jabber-chat-fix
Set default XMPP message type to 'chat'.
2013-08-03 11:28:39 -07:00
Michael DeHaan
caa825b618 Rename option to 'recurse' to make it consistent. Add version_added to docs. 2013-08-03 14:27:11 -04:00
Michael DeHaan
74cde56b60 Merge pull request #3636 from uggedal/pacman-remove-recursive
Pacman module: recursive remove support
2013-08-03 11:26:15 -07:00
Michael DeHaan
dab48fa3ed Slight docs tweak and remove redundant sys.exit call 2013-08-03 14:25:27 -04:00
Michael DeHaan
7e6729e821 Merge branch 'devel' of git://github.com/peterkh/ansible into devel 2013-08-03 14:24:47 -04:00
Michael DeHaan
4f9d330242 Add version_added to new parameter. 2013-08-03 14:22:38 -04:00
Michael DeHaan
996dbb72eb Merge pull request #3662 from grosskur/apt-key-keyring-param
apt_key: Add 'keyring' parameter
2013-08-03 11:21:52 -07:00
Michael DeHaan
7f0cac45a5 Merge pull request #3272 from curtisgithub/devel
A module to create and delete boundary.com meters
2013-08-03 11:20:51 -07:00
Michael DeHaan
5579691b9f Merge pull request #3745 from jimi1283/issue_3714
Set result to skipped when vol group is missing and lv state=absent
2013-08-03 10:52:48 -07:00
Michael DeHaan
31ccf1dfda Merge pull request #3748 from lorin/ec2-idempotency
Add description to id parameter of ec2 module
2013-08-03 10:31:07 -07:00
Michael DeHaan
bb122c3410 Merge pull request #3747 from lorin/ec2-check
ec2: check for changes
2013-08-03 10:30:24 -07:00
Michael DeHaan
b31cef48e9 Merge pull request #3744 from jimi1283/issue_3360
Allow destination paths in the hg module to include a tilde (~)
2013-08-03 10:29:03 -07:00
James Cammarata
e32a6110af Removing skipped=True so the task is just marked as not-changed 2013-08-03 12:15:09 -05:00
Michael DeHaan
3fba6e9cff Merge branch 'git_undefined_branch_variable' of git://github.com/psvo/ansible into devel 2013-08-03 13:12:48 -04:00
Lorin Hochstein
631dc8b7b1 Add description to id parameter of ec2 module
Add some details in the docs about how the id parameter of the ec2
module behaves.
2013-08-02 23:01:17 -04:00
Lorin Hochstein
3647d112f8 ec2: Removed unused line
Remove the reference to the unused "termination_list" parameter
in the ec2 module. The instance_ids parameter is the one that contains
the list of instance ids to be terminated.
2013-08-02 22:35:24 -04:00
Lorin Hochstein
0c1f6b4f51 ec2: check for changes
In the ec2 module, if an id is specified, check if there have been
any changes. If not, return changed=False

Fixes #3746
2013-08-02 22:23:41 -04:00
James Cammarata
d98ad7b374 Set result to skipped when vol group is missing and lv state=absent
Fixes issue #3714 - lvol module state=absent fails (with error) if
the volume group doesn't exist
2013-08-02 20:32:56 -05:00
James Cammarata
7d521ee22c Allow destination paths in the hg module to include a tilde (~)
Fixes issue #3360 - Inconsistent behavior of the hg module w.r.t. dest path
2013-08-02 18:03:20 -05:00
Ben Podoll
1410df43de adding param to allow for specifying custom iops setting when creating an EBS volume 2013-08-02 11:31:31 -05:00
Petr Svoboda
d9576b3529 Tidy up fix of git module traceback 2013-08-02 12:54:06 +02:00
rishid
07ef8c4d84 Verify groups string is not empty before trying add user to groups 2013-08-01 21:19:11 -04:00
Michael DeHaan
16d25f4115 Merge pull request #3651 from nicholaskuechler/rax-update-files-docs
Update docs and example for injecting files.
2013-08-01 17:32:15 -07:00
Michael DeHaan
20f7e2ef71 Merge pull request #3691 from stoned/mysql_user-doc-fix
module mysql_user: fix 'state' parameter description
2013-08-01 17:25:21 -07:00
Michael DeHaan
be7e29b2c2 Merge pull request #3728 from bpennypacker/ec2_elb_updates
Added optional region parameter.  Fail if you specify an ELB that doesn'...
2013-08-01 17:20:45 -07:00
Michael DeHaan
7f77b6c72e Merge pull request #3722 from bcoca/lvg_gets_bin_path
now uses get_bin_path for lvg executables
2013-08-01 17:17:21 -07:00
Michael DeHaan
4db413db6a Merge pull request #3655 from disko/pkgin_search_fix
Fix pkgin search
2013-08-01 17:12:16 -07:00