Commit Graph

8042 Commits (d505586b34de16156ef7f42f347cc3ee9991db8c)
 

Author SHA1 Message Date
Timothy Appnel adbca9d251 Fixed identity key logic. 13 years ago
Timothy Appnel 9f170f579a Introduced ansible-rsync to core. 13 years ago
Matt Hite c556e673c7 Fix to better handle concurrent runs of module against same pool 13 years ago
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
13 years ago
Evan Wies 0c9c4ae401 digital_ocean #3438: use get instead of [] to prevent KeyError
The existing code was using:
  a[b][c[d]]
where a[b] would always exist and c[d] would always exist.
But the nested index would not alway exist, particularly when a DigitalOcean item disapeared.

This changes that nested index to a `get` and properly handles None results.

This bug was present in two spots in this file.
13 years ago
James Cammarata ceff3b6ba3 Minor modification to set_fact with_items patch
Previous patch was reverted due to the fact that there was an issue
with the results not always being a dictionary (they're sometimes
a unicode string, ie. when the with_items is used with yum). This
minor change corrects that by checking for a dict object.
13 years ago
lwade a46e0f9788 Modified playbooks2.rst to include conditional boolean example. 13 years ago
Matt Hite 33007e75de Fixed parameter names 13 years ago
James Cammarata 8be2fc745b Revert "Check for ansible_facts in results for with_ tasks"
This reverts commit 1a4e6e415e.
13 years ago
Michael Scherer 8026b091b1 Add openshift inventory plugin
This plugin will list all your git repositories from a openshift
provider, and allow you to manage them using ansible.

The inventory either use a environement variable or reuse the
existing rhc configuration file if it exist.
13 years ago
Matt Hite 4f34afbc1d New module to manipulate BIG-IP pool members and their attributes 13 years ago
James Cammarata 1c361a9968 Merge pull request #3795 from wilsaj/patch-1
docfix: grammar in docstring for sysctl module
13 years ago
Serge van Ginderachter 1a4e6e415e Check for ansible_facts in results for with_ tasks
that loop over a lookup plugin. Fixes #3704 and #3735
13 years ago
Andy Wilson bc30203abe docfix: grammar in docstring for sysctl module 13 years ago
Serge van Ginderachter 40e60c947d Host specifiers should be sorted
to ensure consistent behavior, hosts should look like this:

    hosts: webservers:&boston:!rack42

So when applying the host selectors, run those without the "&" first,
then the &s, then the !s.

Closes #3500
13 years ago
Abhijit Menon-Sen 0c96d8af6e Add a nocolor setting to ansible.cfg 13 years ago
Lorin Hochstein f9cc0f2ef3 Fix typo: alises -> aliases 13 years ago
Michael DeHaan 067cc9274d Add note about python-selinux. 13 years ago
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
13 years ago
Balazs Pocze 19bb81a7df EXAMPLES section added 13 years ago
Balazs Pocze 1a6cb15ee6 Changes made in documentation (EXAMPLES section added)
Minor identation fixes
13 years ago
Drew Blas 9ede377380 Added git disclaimer about dealing with ssh host checking
This disclaimer already exists in library/source_control/hg but not here.  It affects both and was discussed awhile back on: https://groups.google.com/forum/#!msg/ansible-project/q9G9xIdsRxo/XJhQzuS-qSoJ  However no PR was ever sent to fix the doc.
13 years ago
Lorin Hochstein 915f06402b Add AWS EC2 elastic IP module
Adds a new AWS EC2 module to associate/disassociate instances and
elastic IP addresses.
13 years ago
Matt Hite c4a06d32a5 Enhancements to provide pool creation and attributes 13 years ago
Brian Coca a937a6a66d now bad ini entries will throw friendlier error
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
13 years ago
Andy R 5a47953e7d Never ask for SSH password when using local connection.
With the command line option "-c local", ansible and ansible-playbook
should never ask for a SSH password even if this is set in the config.

Fixes #3720
13 years ago
Michael DeHaan 0089ecfa7e Minor changelog updates. 13 years ago
Michael DeHaan 18be6dcb62 Use blockquote in docs. 13 years ago
Michael DeHaan cb9c3a8bd7 Merge pull request #3762 from grosskur/fix-apt-noninteractive
apt: Run remove commands noninteractively
13 years ago
Michael DeHaan 4cbfe3be57 Merge pull request #3773 from cchurch/devel
Update callbacks used for async tasks
13 years ago
Michael DeHaan 0b4e145709 Merge pull request #3772 from lorin/s3-docpatch
Minor doc update to s3 & ec2 modules
13 years ago
Michael DeHaan ff44c981e9 Merge pull request #3770 from rishid/devel
Add support for INI comments that begin with '#' or ';'
13 years ago
Michael DeHaan 99775176ff Merge pull request #3623 from ralph-tice/fix_3567_2
changed role path template to read all vars instead of just extra_vars
13 years ago
Michael DeHaan 531e193865 Merge pull request #3643 from iliv/devel
Proper packaging support for RHEL/CentOS 5
13 years ago
Michael DeHaan 0edcbdca05 Merge pull request #3709 from lwade/devel
S3folder
13 years ago
Michael DeHaan 4401557455 add version_added attribute to module docs. 13 years ago
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
13 years ago
Chris Church 6ba4331161 Correctly check for failed status from an async task. Use runner_on_async_failed callback (instead of runner_on_failed) when an async task times out. Add runner_on_async_ok callback when a task is started in fire and forget mode. 13 years ago
Lorin Hochstein 729c03ed88 Minor doc update to s3 & ec2 modules
Adds some additional docs about the module parameters for s3
and ec2 modules.
13 years ago
rishid d18c90ed8f Add support for INI comments that begin with '#' or ';'
Ini file format does not have a standard but ';' is used more often than '#' for comments
13 years ago
Michael DeHaan 5f18a53530 Fixup docs formatting. 13 years ago
Michael DeHaan bc76d5adbe Merge pull request #3768 from didiercrunch/patch-1
Update supervisorctl
13 years ago
didiercrunch 15160f2d93 Update supervisorctl
Fixed the example.
13 years ago
Jesse Keating 8706886597 Update rax to sync with rax_clb_nodes
Both modules dealing with rax resources should use the same arguments
and environmental variables. The author of rax_clb_nodes did some things
better so sync rax with that effort.
13 years ago
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.
13 years ago
Michael Scherer 3fb2da6359 use lgetfilecon_raw instead of lgetfilecon to not depend on local level translation
If SELinux is enabled and mcstrans is running, daemons are restarted on each
run. After further debugging, it turn out that ansible compare the untranslated
level 's0' with the translated level 'SystemLow' due to mcstrans being running,
which trigger a handler since this is considered as a change.
13 years ago
Michael DeHaan 56a00e0667 Remove dead code. 13 years ago
Michael DeHaan 2a0d67e6fc Doc formatting/tweaking. 13 years ago
Michael DeHaan 2ff5a615df Update CHANGELOG 13 years ago
Michael DeHaan bcaa983c2f Document inventory script upgrades 13 years ago