Commit Graph

2445 Commits (fa0ab58a7e00dfbce9f4e43609b99022fc45a9b2)
 

Author SHA1 Message Date
René Moser 4a61481498 file: skip in check_mode if state=touched 11 years ago
egghead d05f21fc80 supervisorctl module: adding support for custom supervisord installations
Supervisord can be installed at the user level or system level.
Installating as a user is particularly useful for systems without root access.

Adds the ability to provide a custom supervisorctl executable path, supporting custom installations
11 years ago
René Moser ddd35b187c file: implemented state=touched. Closes GH-4097 11 years ago
James Cammarata 6eec6f776e More housekeeping
* Modified version_added strings in recent modules
* Added firewalld inclusion to the CHANGELOG
11 years ago
James Cammarata 6b5b004232 Moving firewalld module from net_infra to system 11 years ago
James Cammarata 70b2d361c5 Merge branch 'maxamillion/firewalld' of https://github.com/maxamillion/ansible into maxamillion-maxamillion/firewalld 11 years ago
James Cammarata 1d1bf7ba81 Minor pep8 cleanup in ec2_eip module 11 years ago
James Cammarata 22632a1139 Merge branch 'ec2_eip' of https://github.com/lorin/ansible into lorin-ec2_eip 11 years ago
James Cammarata df9281e71c Changed the version_added field in rax_clb_nodes to 1.4 11 years ago
James Cammarata cc4dde9686 Minor doc fix and a CHANGELOG update for the new rax_clb_nodes module 11 years ago
James Cammarata 88be2d0d32 Merge branch 'rax-clb-nodes' of https://github.com/neuroid/ansible into neuroid-rax-clb-nodes 11 years ago
James Cammarata 43cbb01c77 Merge branch 'rax_wait_on_delete' of https://github.com/jlaska/ansible into jlaska-rax_wait_on_delete 11 years ago
Phillip dea21cf6af adding an optional delimiter argument to the assemble module 11 years ago
René Moser d2d6b20d99 host: code cleanup 11 years ago
James Laska df2fb25b63 [cloud/rax] support wait on delete
Add support to existing rax module to honor the wait (and wait_timeout)
parameters on delete operations.  This patch removes existing logic in favor of
the built-in pyrax.utils.wait_until method.
11 years ago
Pieter Avonts 42e4d8cb30 changed deprecated channel_label attribute 11 years ago
James Cammarata 3511687dad Minor tweak to service changed logic from the previous commit 11 years ago
James Cammarata 8bdb95a014 Merge branch 'service-enable-fix' of https://github.com/gottwald/ansible into gottwald-service-enable-fix 11 years ago
Petr Svoboda f82d3f7fa9 Fix traceback in service module when svc_cmd is None (2nd fix)
When service module is used on unsupported Linux system where init
script is used directly, LinuxService.svc_cmd is None so .endswith()
fails.

This extends fix from e2f20db534 also
for state=restarted.

Fixes issue #3533
11 years ago
René Moser 9f5d8f8482 host: updated version_added 11 years ago
Rene Moser 318c956a22 added module host
Add or remove entries in /etc/hosts using tasks:
- host: ip=127.0.0.1 hostname=localhost aliases=foobar.com,localhost.foobar.com
- host: ip=127.0.0.1 hostname=localhost state=present
- host: ip=192.168.1.1 state=absent
- host: hostname=localhost state=absent
- host: ip=::1 hostname=localhost aliases=ip6-localhost,ip6-loopback
11 years ago
René Moser 2e649d21af Fixed missing required package in notes. 11 years ago
Jeremy Price 14f67a4bf7 dest in s3 module does not work with ~username notation for home directories. Wrapped dest definition in os.path.expanduser() which will return the expanded path in case of successful tilde expansion and otherwise the original value 11 years ago
David Stygstra 86d4331e3b Add Python 2.4 support to modprobe module 11 years ago
David Stygstra d6a5e05a21 Module to manage kernel modules 11 years ago
David Stygstra c168edc7a4 Add option for DNS nameservers to quantum_subnet module 11 years ago
Erick Yellott 55e26fdfda Typo fix from `accelerated: true` to `accelerate: true` 11 years ago
Ralph Bean 1d0a7baaa1 Add a new unique_name param to the digital_ocean module for idempotence.
As it stands now, it is difficult to write idempotent tasks for digital
ocean droplets.  Digital ocean assigns new nodes a random id when they
are provisioned and that id is the only key that can be used to identify
it in subsequent runs of that play.

The workflow previously involved manual intervention:

- write a play defining a new node with no specified id
- run it, collect the randomly assigned id by hand
- modify the play to add the id by hand so future runs don't create
  duplicate nodes
- perform future re-runs that check if the node exists (by its id)
  - if it does exist then do nothing.
  - if it does not exist, then create it and return a *new random id*
  - collect the new random id by hand, modify the playbook file, and
    start all over.

Its a huge pain.

The modifications in this commit allow you to use the 'hostname' as a
primary key for idempotence with digital ocean.  By default, digital
ocean will let you create as many hosts with the same hostname as you
like.  Here, we provide an option to constrain the user to using only
unique hostnames.

The workflow will now look like:

- write a play defining a new node with a specified hostname and
  "unique_name: true""
- run it, create the new node and move on.
- re-run it, notice that a node with that hostname is already created
  and move on.
11 years ago
Ralph Bean 277a918e12 Fix an example with a yaml syntax error. 11 years ago
Ralph Bean a1738163a8 Fix some "make pep8" errors in the digital_ocean module. 11 years ago
James Cammarata bb36429fa2 Merge branch 'fix/apt_repository_update_cache' of https://github.com/resmo/ansible into resmo-fix/apt_repository_update_cache 11 years ago
René Moser cb9308a998 apt_repository: added option update_cache.
The default behavior is to update_cache if changed.

If you add more then one repo, you may not want to update cache for every repo separately.
So you can now disable update_cache with this new option e.g. update_cache=no

Updating cache can also be handled using the apt module.
11 years ago
Ralph Bean 06edce08f6 Remove trailing whitespace in digital ocean module. 11 years ago
Ralph Bean 46c18d44f0 Remove duplicate docs in digital ocean module.
The EXAMPLES block here has two copies of the same docs,
one nicely formatted, the other less so.

It looks like a pass was made to clean up the docs but the old
cruftier ones were never removed.
11 years ago
René Moser 53d06b932a apt_repository: fix update cache after state=changed. Closes GH-4136 11 years ago
James Cammarata a6e339fc36 Merge pull request #4138 from resmo/fix/redundant-fail-json
apt: fixed duplicate fail_json
11 years ago
Rene Moser 8c7c0833c2 apt: fixed duplicate fail_json 11 years ago
Shuhao Wu a17610f7c6 Fixed monit restarted error.
Errors everytime...
11 years ago
James Cammarata 7a52ad498d Merge branch 'issue_3417_systemd_stuff' into devel 11 years ago
James Cammarata 3d09c6441e Merge branch 'archlinux-fact' of https://github.com/Schnouki/ansible into Schnouki-archlinux-fact 11 years ago
James Cammarata d6b7c91aa9 Merge branch 'issue_3421_apt_pkg_iU' into devel 11 years ago
James Cammarata 9c70be7c67 Updated version_added string for the new validate_md5 option 11 years ago
James Cammarata 875eddc320 Merge branch 'fetch' of https://github.com/bpennypacker/ansible into bpennypacker-fetch 11 years ago
Michael DeHaan 7ea2f04888 Merge pull request #4115 from r-p-e/devel
Add some more OpenBSD facts
11 years ago
Michael DeHaan 4a50a76669 Merge pull request #4075 from sayap/easy_install
Locate easy_install path after (optionally) creating virtualenv.
11 years ago
r-p-e df746b4fb7 Add some more OpenBSD facts
added:
 * ansible_distribution
 * ansible_distribution_release
 * ansible_distribution_version
11 years ago
Ingo Gottwald 08af5f833f Bugfix service module: Only change service state when needed 11 years ago
Lorin Hochstein 840da0aaa0 AWS elastic IP: Support for allocating IPs
This commit adds support for allocating new elastic IPs with the
ec2_eip module.
11 years ago
Charles Blonde 4639295563 Update instance_profile_name message 11 years ago
Thomas Jost 725dd43fca Add Archlinux "distribution" fact 11 years ago