Commit Graph

2182 Commits (509d1c53817dd58dc52c14d836e30d7cedd9e91b)
 

Author SHA1 Message Date
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
11 years ago
Andy Wilson 85e34cc107 docfix: grammar in docstring for sysctl module 11 years ago
Michael DeHaan 5140826fa9 Merge pull request #3762 from grosskur/fix-apt-noninteractive
apt: Run remove commands noninteractively
11 years ago
Michael DeHaan 35c58b5fc2 Merge pull request #3772 from lorin/s3-docpatch
Minor doc update to s3 & ec2 modules
11 years ago
Michael DeHaan 42eda799c8 Merge pull request #3709 from lwade/devel
S3folder
11 years ago
Michael DeHaan e892450031 add version_added attribute to module docs. 11 years ago
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
11 years ago
Lorin Hochstein 2281cb66a3 Minor doc update to s3 & ec2 modules
Adds some additional docs about the module parameters for s3
and ec2 modules.
11 years ago
Michael DeHaan f0763558ad Fixup docs formatting. 11 years ago
didiercrunch 7f2ae3f375 Update supervisorctl
Fixed the example.
11 years ago
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.
11 years ago
Michael DeHaan 6a9db82b3e Doc formatting/tweaking. 11 years ago
Michael Scherer bb9d0a9493 Add urpmi as a package manager for mandriva-based distribution 11 years ago
Michael DeHaan ea08f247f9 PEP8: fix spacing 11 years ago
Michael DeHaan a5db8257da Newline at end of file. 11 years ago
Michael DeHaan d658a89003 Fix PEP8 commenting, but comment seems obvious so just remove it. 11 years ago
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.
11 years ago
Michael DeHaan 1e2630d814 Merge pull request #3718 from hacosta/rpm_key
Add rpm_key module
11 years ago
Michael DeHaan cc49b17771 Merge pull request #3670 from briceburg/devel
NEW MODULE: dnsmadeeasy
11 years ago
Michael DeHaan 26451c3d0d Merge pull request #3659 from neuroid/jabber-chat-fix
Set default XMPP message type to 'chat'.
11 years ago
Michael DeHaan c13b1cb18e Rename option to 'recurse' to make it consistent. Add version_added to docs. 11 years ago
Michael DeHaan 933455a6a3 Merge pull request #3636 from uggedal/pacman-remove-recursive
Pacman module: recursive remove support
11 years ago
Michael DeHaan 74679c1c87 Slight docs tweak and remove redundant sys.exit call 11 years ago
Michael DeHaan b9e0215494 Merge branch 'devel' of git://github.com/peterkh/ansible into devel 11 years ago
Michael DeHaan e1e37002c3 Add version_added to new parameter. 11 years ago
Michael DeHaan d6b54d69fd Merge pull request #3662 from grosskur/apt-key-keyring-param
apt_key: Add 'keyring' parameter
11 years ago
Michael DeHaan e3d5937bcf Merge pull request #3272 from curtisgithub/devel
A module to create and delete boundary.com meters
11 years ago
Michael DeHaan 0359c1c5a8 Merge pull request #3745 from jimi1283/issue_3714
Set result to skipped when vol group is missing and lv state=absent
11 years ago
Michael DeHaan 2387cfeb9b Merge pull request #3748 from lorin/ec2-idempotency
Add description to id parameter of ec2 module
11 years ago
Michael DeHaan fb42784c7a Merge pull request #3747 from lorin/ec2-check
ec2: check for changes
11 years ago
Michael DeHaan ac5fb3ffda Merge pull request #3744 from jimi1283/issue_3360
Allow destination paths in the hg module to include a tilde (~)
11 years ago
James Cammarata 494030aa6c Removing skipped=True so the task is just marked as not-changed 11 years ago
Michael DeHaan 73b9079a25 Merge branch 'git_undefined_branch_variable' of git://github.com/psvo/ansible into devel 11 years ago
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.
11 years ago
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.
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Ben Podoll 279aab42c5 adding param to allow for specifying custom iops setting when creating an EBS volume 11 years ago
Petr Svoboda cbbd9c257d Tidy up fix of git module traceback 11 years ago
rishid fea38f44ac Verify groups string is not empty before trying add user to groups 11 years ago
Michael DeHaan 5d6a0f3515 Merge pull request #3651 from nicholaskuechler/rax-update-files-docs
Update docs and example for injecting files.
11 years ago
Michael DeHaan fab11537b1 Merge pull request #3691 from stoned/mysql_user-doc-fix
module mysql_user: fix 'state' parameter description
11 years ago
Michael DeHaan 87e2f74f07 Merge pull request #3728 from bpennypacker/ec2_elb_updates
Added optional region parameter.  Fail if you specify an ELB that doesn'...
11 years ago
Michael DeHaan c6c7e2f266 Merge pull request #3722 from bcoca/lvg_gets_bin_path
now uses get_bin_path for lvg executables
11 years ago
Michael DeHaan 064b721498 Merge pull request #3655 from disko/pkgin_search_fix
Fix pkgin search
11 years ago
Michael DeHaan 38055e33c5 Merge pull request #3648 from echohead/glance-image-timeout
Fix 'timeout' parameter of glance-image module.
11 years ago
Michael DeHaan 838acd4877 Merge pull request #3676 from bcoca/debug_doc_update
updated debug module docs to remove outdated -v requirement
11 years ago
Michael DeHaan 5fbb82fd15 Merge pull request #3634 from stintel/mysql-revoke-grant-option
Only revoke GRANT OPTION when user actually has it
11 years ago
Bruce Pennypacker 6d6e0d5ab8 Added optional region parameter. Fail if you specify an ELB that doesn't exist.
Boto blindly assumes the us-east-1 region if you don't hardcode a
region in it's config, so you could end up attempting to modify ELB's
in one region from a totally different region.  If a region isn't
specified then default to the region that the module is being run
within rather than the default us-east-1 region since it's a pretty
safe assumption that you intend to work on the ELB's within your
current region.

Also throw an error if a specified ELB instance doesn't exist.  The old
behavior would be to silently succeed with changed=false, so if you had
so much as a typo in the name of your ELB (or were in the wrong region
like my initial testing) you wouldn't get a clear indication that a
problem had occurred.
11 years ago