Commit graph

2186 commits

Author SHA1 Message Date
danxshap
b8a43a37f0 use home path expansion for virtualenv param in django_manage module 2013-08-11 14:02:13 -07:00
Michael DeHaan
003c86e250 Merge branch 'fix_service_with_initscript' of git://github.com/psvo/ansible into devel 2013-08-10 18:05:35 -04:00
Michael DeHaan
529e78be01 Smite tabs in whitespace. 2013-08-10 17:58:03 -04:00
Michael Scherer
509d1c5381 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
85e34cc107 docfix: grammar in docstring for sysctl module 2013-08-08 12:23:30 -05:00
Petr Svoboda
48b064b55b 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
5140826fa9 Merge pull request #3762 from grosskur/fix-apt-noninteractive
apt: Run remove commands noninteractively
2013-08-06 13:41:07 -07:00
Michael DeHaan
35c58b5fc2 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
42eda799c8 Merge pull request #3709 from lwade/devel
S3folder
2013-08-06 13:01:43 -07:00
Michael DeHaan
e892450031 add version_added attribute to module docs. 2013-08-06 15:54:20 -04:00
Michael DeHaan
0b7d60f351 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
2281cb66a3 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
f0763558ad Fixup docs formatting. 2013-08-06 10:53:56 -04:00
didiercrunch
7f2ae3f375 Update supervisorctl
Fixed the example.
2013-08-06 09:06:28 -04:00
Alan Grosskurth
d91e6e06e4 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
6a9db82b3e Doc formatting/tweaking. 2013-08-05 16:13:50 -04:00
Michael Scherer
bb9d0a9493 Add urpmi as a package manager for mandriva-based distribution 2013-08-04 00:03:50 +02:00
Michael DeHaan
ea08f247f9 PEP8: fix spacing 2013-08-03 14:55:38 -04:00
Michael DeHaan
a5db8257da Newline at end of file. 2013-08-03 14:55:22 -04:00
Michael DeHaan
d658a89003 Fix PEP8 commenting, but comment seems obvious so just remove it. 2013-08-03 14:55:01 -04:00
Michael DeHaan
864cb8fca9 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
1e2630d814 Merge pull request #3718 from hacosta/rpm_key
Add rpm_key module
2013-08-03 11:39:10 -07:00
Michael DeHaan
cc49b17771 Merge pull request #3670 from briceburg/devel
NEW MODULE: dnsmadeeasy
2013-08-03 11:31:07 -07:00
Michael DeHaan
26451c3d0d 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
c13b1cb18e Rename option to 'recurse' to make it consistent. Add version_added to docs. 2013-08-03 14:27:11 -04:00
Michael DeHaan
933455a6a3 Merge pull request #3636 from uggedal/pacman-remove-recursive
Pacman module: recursive remove support
2013-08-03 11:26:15 -07:00
Michael DeHaan
74679c1c87 Slight docs tweak and remove redundant sys.exit call 2013-08-03 14:25:27 -04:00
Michael DeHaan
b9e0215494 Merge branch 'devel' of git://github.com/peterkh/ansible into devel 2013-08-03 14:24:47 -04:00
Michael DeHaan
e1e37002c3 Add version_added to new parameter. 2013-08-03 14:22:38 -04:00
Michael DeHaan
d6b54d69fd 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
e3d5937bcf 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
0359c1c5a8 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
2387cfeb9b 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
fb42784c7a Merge pull request #3747 from lorin/ec2-check
ec2: check for changes
2013-08-03 10:30:24 -07:00
Michael DeHaan
ac5fb3ffda 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
494030aa6c Removing skipped=True so the task is just marked as not-changed 2013-08-03 12:15:09 -05:00
Michael DeHaan
73b9079a25 Merge branch 'git_undefined_branch_variable' of git://github.com/psvo/ansible into devel 2013-08-03 13:12:48 -04:00
Lorin Hochstein
099936da22 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
262808cf7c 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
3840a9f8f5 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
f3384374b9 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
e5822b5342 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
279aab42c5 adding param to allow for specifying custom iops setting when creating an EBS volume 2013-08-02 11:31:31 -05:00
Petr Svoboda
cbbd9c257d Tidy up fix of git module traceback 2013-08-02 12:54:06 +02:00
rishid
fea38f44ac Verify groups string is not empty before trying add user to groups 2013-08-01 21:19:11 -04:00
Michael DeHaan
5d6a0f3515 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
fab11537b1 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
87e2f74f07 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
c6c7e2f266 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
064b721498 Merge pull request #3655 from disko/pkgin_search_fix
Fix pkgin search
2013-08-01 17:12:16 -07:00