Commit Graph

3035 Commits (5040665cd05638c7daa8e14754dc581a6c0fe5c5)
 

Author SHA1 Message Date
James Cammarata 2d52791c25 Merge branch 'ec2_boto' of https://github.com/CharlesBlonde/ansible into CharlesBlonde-ec2_boto 11 years ago
James Cammarata b07b9941c1 Merge branch 'bcoca-env_facts' into devel 11 years ago
James Cammarata aadf8175c6 Modified env fact gathering to use the native python method
Also updated CHANGELOG for this feature
11 years ago
James Cammarata d16a382935 Merge branch 'env_facts' of https://github.com/bcoca/ansible into bcoca-env_facts 11 years ago
Jim Dalton 202a17b71d Add enable_availability_zone parameter to ec2 module. 11 years ago
Michael DeHaan 6e286e8beb Merge pull request #4159 from stygstra/quantum_subnet-nameservers
Add option for DNS nameservers to quantum_subnet module
11 years ago
Maciej Delmanowski 669b345937 Made re.search string shorter 11 years ago
Maciej Delmanowski fa879a63a1 Add Linux Container identification 11 years ago
Andrey Shorin 7e2755a542 Make --check mode work with fireball and accelerate connections 11 years ago
James Cammarata d83b7b4009 Change touched -> touch for new file state, and cleaning up docs 11 years ago
James Cammarata 6a3c0a19e7 Merge branch 'feature/file-state-touched' of https://github.com/resmo/ansible into resmo-feature/file-state-touched 11 years ago
Johan Wirén 9120303446 Fixed setup module to no longer break on OpenBSD release versions. 11 years ago
René Moser 958abc8a9a file: added file attributes in state=touched 11 years ago
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
Timothy Appnel 4e8f5eaef5 Added docs for archive options in sychronize module. Added missing default value for dirs option. 11 years ago
Timothy Appnel 4cb2cb9bac Modified changed marker in sychronize module 11 years ago
Timothy Appnel d7c737516e Added archive options to sychronize module as suggested by @smoothify but with a different default scheme to keep param definitions to a minimum. 11 years ago
Timothy Appnel 10f336a97c Added ingenious change detection trick from @smoothify though at the cost of verbosity controls. (Quiet or verbosity > 1 breaks change detection. Also added better use of module_common methods. 11 years ago
Timothy Appnel 35068527db Removed busted tmp_dir option that was a bad idea to begin with. 11 years ago
Timothy Appnel 26585aae46 Updated version_added in sychronize module 11 years ago
Timothy Appnel e692212a36 Return of sychronize module code for take 3 11 years ago
David Stygstra 81333599cf Modules for managing Open vSwitch bridges and ports 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
Lorin Hochstein a43f5d4892 htpasswd docs: add notes about depending on python-passlib 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