Commit graph

2467 commits

Author SHA1 Message Date
James Cammarata
d4ba1f9ded Fixing some bugs found during testing in the host module 2013-09-23 16:05:43 -05:00
James Cammarata
339f17d560 Merge branch 'feature/host' of https://github.com/resmo/ansible into resmo-feature/host 2013-09-23 15:42:30 -05:00
James Cammarata
b37f65f9eb Added a delimiter example and a version_added string for assemble 2013-09-23 15:32:36 -05:00
James Cammarata
8c8c0d4ec4 Fixed a bug in the delimiter change for the assemble module 2013-09-23 15:29:13 -05:00
James Cammarata
d41afd9a46 Merge branch 'devel' of https://github.com/pcgentry/ansible into pcgentry-devel 2013-09-23 15:18:15 -05:00
James Cammarata
104535ac48 Merge branch 'devel' of https://github.com/drybjed/ansible into drybjed-devel 2013-09-23 15:10:40 -05:00
James Cammarata
65180fa530 Added version_added string to new modprobe module and CHANGELOG update 2013-09-23 15:02:02 -05:00
James Cammarata
04683f554b Merge branch 'modprobe-module' of https://github.com/stygstra/ansible into stygstra-modprobe-module 2013-09-23 15:00:50 -05:00
James Cammarata
619a80c505 Merge branch 'devel' of https://github.com/tomdymond/ansible into tomdymond-devel 2013-09-23 14:53:46 -05:00
James Cammarata
2d52791c25 Merge branch 'ec2_boto' of https://github.com/CharlesBlonde/ansible into CharlesBlonde-ec2_boto 2013-09-23 14:20:23 -05:00
James Cammarata
b07b9941c1 Merge branch 'bcoca-env_facts' into devel 2013-09-23 14:18:27 -05:00
James Cammarata
aadf8175c6 Modified env fact gathering to use the native python method
Also updated CHANGELOG for this feature
2013-09-23 14:17:40 -05:00
James Cammarata
d16a382935 Merge branch 'env_facts' of https://github.com/bcoca/ansible into bcoca-env_facts 2013-09-23 13:46:11 -05:00
Michael DeHaan
6e286e8beb Merge pull request #4159 from stygstra/quantum_subnet-nameservers
Add option for DNS nameservers to quantum_subnet module
2013-09-23 08:26:13 -07:00
Maciej Delmanowski
669b345937 Made re.search string shorter 2013-09-23 12:27:14 +02:00
Maciej Delmanowski
fa879a63a1 Add Linux Container identification 2013-09-23 12:15:33 +02:00
Andrey Shorin
7e2755a542 Make --check mode work with fireball and accelerate connections 2013-09-23 13:51:43 +04:00
James Cammarata
d83b7b4009 Change touched -> touch for new file state, and cleaning up docs 2013-09-22 09:16:07 -05:00
James Cammarata
6a3c0a19e7 Merge branch 'feature/file-state-touched' of https://github.com/resmo/ansible into resmo-feature/file-state-touched 2013-09-22 09:03:27 -05:00
Johan Wirén
9120303446 Fixed setup module to no longer break on OpenBSD release versions. 2013-09-22 14:05:22 +02:00
René Moser
958abc8a9a file: added file attributes in state=touched 2013-09-22 12:54:24 +02:00
René Moser
4a61481498 file: skip in check_mode if state=touched 2013-09-22 12:53:49 +02:00
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
2013-09-21 18:13:33 +00:00
René Moser
ddd35b187c file: implemented state=touched. Closes GH-4097 2013-09-21 15:07:50 +02:00
James Cammarata
6eec6f776e More housekeeping
* Modified version_added strings in recent modules
* Added firewalld inclusion to the CHANGELOG
2013-09-21 01:06:34 -05:00
James Cammarata
6b5b004232 Moving firewalld module from net_infra to system 2013-09-21 01:02:19 -05:00
James Cammarata
70b2d361c5 Merge branch 'maxamillion/firewalld' of https://github.com/maxamillion/ansible into maxamillion-maxamillion/firewalld 2013-09-21 01:01:07 -05:00
James Cammarata
1d1bf7ba81 Minor pep8 cleanup in ec2_eip module 2013-09-21 00:45:27 -05:00
James Cammarata
22632a1139 Merge branch 'ec2_eip' of https://github.com/lorin/ansible into lorin-ec2_eip 2013-09-21 00:44:27 -05:00
James Cammarata
df9281e71c Changed the version_added field in rax_clb_nodes to 1.4 2013-09-20 16:58:59 -05:00
James Cammarata
cc4dde9686 Minor doc fix and a CHANGELOG update for the new rax_clb_nodes module 2013-09-20 16:57:29 -05:00
James Cammarata
88be2d0d32 Merge branch 'rax-clb-nodes' of https://github.com/neuroid/ansible into neuroid-rax-clb-nodes 2013-09-20 16:49:50 -05:00
James Cammarata
43cbb01c77 Merge branch 'rax_wait_on_delete' of https://github.com/jlaska/ansible into jlaska-rax_wait_on_delete 2013-09-20 16:22:02 -05:00
Phillip
dea21cf6af adding an optional delimiter argument to the assemble module 2013-09-20 15:50:09 -05:00
René Moser
d2d6b20d99 host: code cleanup 2013-09-20 22:50:03 +02:00
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.
2013-09-20 13:49:39 -04:00
Pieter Avonts
42e4d8cb30 changed deprecated channel_label attribute 2013-09-20 12:58:43 +02:00
James Cammarata
3511687dad Minor tweak to service changed logic from the previous commit 2013-09-19 15:00:25 -05:00
James Cammarata
8bdb95a014 Merge branch 'service-enable-fix' of https://github.com/gottwald/ansible into gottwald-service-enable-fix 2013-09-19 14:59:53 -05:00
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
2013-09-19 14:36:02 -05:00
René Moser
9f5d8f8482 host: updated version_added 2013-09-19 20:09:38 +02:00
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
2013-09-19 20:09:38 +02:00
René Moser
2e649d21af Fixed missing required package in notes. 2013-09-19 19:34:15 +02:00
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 2013-09-19 00:32:13 -04:00
David Stygstra
86d4331e3b Add Python 2.4 support to modprobe module 2013-09-19 00:04:20 -04:00
David Stygstra
d6a5e05a21 Module to manage kernel modules 2013-09-19 00:02:44 -04:00
Lorin Hochstein
a43f5d4892 htpasswd docs: add notes about depending on python-passlib 2013-09-18 21:43:13 -04:00
David Stygstra
c168edc7a4 Add option for DNS nameservers to quantum_subnet module 2013-09-18 19:40:12 -04:00
Erick Yellott
55e26fdfda Typo fix from accelerated: true to accelerate: true 2013-09-18 16:47:49 -05:00
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.
2013-09-18 16:07:22 -04:00