Commit Graph

7355 Commits (a66f0462cdf43b47f125f3820e979c863d65218c)
 

Author SHA1 Message Date
James Cammarata 519d195f2a Merge branch 'rax_wait_on_delete' of https://github.com/jlaska/ansible into jlaska-rax_wait_on_delete 12 years ago
James Cammarata 47b9cc6311 Merge branch 'meta-roles' of https://github.com/eggsby/ansible into eggsby-meta-roles
Conflicts:
	lib/ansible/playbook/play.py
12 years ago
Phillip 4b5b6e91fe adding an optional delimiter argument to the assemble module 12 years ago
René Moser 0ba7acd205 host: code cleanup 12 years ago
James Cammarata 27e8675277 Make the role_name in the task its own field for use in the callback 12 years ago
James Laska 03252e1d30 [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.
12 years ago
James Cammarata 7272aa0347 Merge branch 'devel' of https://github.com/pieteravonts/ansible into pieteravonts-devel 12 years ago
James Cammarata 98cfcec5e2 Correct role name detection 12 years ago
James Cammarata 8dcf386def Don't set the role name on handlers as this breaks notifications 12 years ago
Pieter Avonts 60d8f92b3c changed deprecated channel_label attribute 12 years ago
James Cammarata a5ee6ff1e5 Display parent role name of tasks in the name line
Fixes #4076
12 years ago
James Cammarata c2e02fbd6b Minor tweak to service changed logic from the previous commit 12 years ago
James Cammarata f62093da56 Merge branch 'service-enable-fix' of https://github.com/gottwald/ansible into gottwald-service-enable-fix 12 years ago
Petr Svoboda 8d290e3394 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
12 years ago
René Moser bcaab4236b host: updated version_added 12 years ago
Rene Moser 7f96dd832f 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
12 years ago
James Cammarata d89f104e91 Merge pull request #4179 from resmo/fix/doc-apt-repository
Fixed missing required package in notes.
12 years ago
René Moser ccf4cf1dd8 Fixed missing required package in notes. 12 years ago
James Cammarata c840cbaad9 Merge branch 'fork_fixes' of https://github.com/akerl/ansible into akerl-fork_fixes 12 years ago
James Cammarata 69cfcf7ed0 Minor change to -vvvv mode to only show debugging info for ssh conns
Also added this feature to the CHANGELOG
12 years ago
James Cammarata d5b96abd80 Added support for -vvvv to enable ssh connection debugging
This patch also checks specifically for a return code of 255, which
indicates an unknown SSH error of some kind. When that happens, ansible
will now recommend running with -vvvv (if not enabled) or show the
output from 'ssh -vvv' (when it is enabled)
12 years ago
Nigel Metheringham f0cc2d6efe Added md5 as a jinja filter - returns hex digest of input 12 years ago
Timothy Appnel 99f616ecff Added docs for archive options in sychronize module. Added missing default value for dirs option. 12 years ago
Timothy Appnel c2e4129812 Modified changed marker in sychronize module 12 years ago
Timothy Appnel c1bec5fa07 Added archive options to sychronize module as suggested by @smoothify but with a different default scheme to keep param definitions to a minimum. 12 years ago
Timothy Appnel 4a30ba3a61 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. 12 years ago
Timothy Appnel d8cd3d603e Straightened out the logic for delegate handling in synchronize action module 12 years ago
Timothy Appnel 90867d0d0a Removed busted tmp_dir option that was a bad idea to begin with. 12 years ago
Timothy Appnel 61e726fe82 Fix to local delegate_to override and proper sudo handling from @smoothify 12 years ago
Timothy Appnel 370784ef61 Updated version_added in sychronize module 12 years ago
Timothy Appnel 32ae6fdd43 Return of sychronize module code for take 3 12 years ago
Jeremy Price f56b3fba3e 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 12 years ago
Thomas Omans 91a4ba2248 allowing a roles to do be made out of dependencies alone 12 years ago
David Stygstra 58620ca477 Add Python 2.4 support to modprobe module 12 years ago
David Stygstra 27a08dc647 Module to manage kernel modules 12 years ago
James Cammarata 503f062521 Merge branch 'ferringb-fixes/configurable-ControlPath' into devel 12 years ago
James Cammarata 848a966736 Adding example section to ansible.cfg for the control_path setting 12 years ago
Lorin Hochstein d4326d8196 htpasswd docs: add notes about depending on python-passlib 12 years ago
Michael DeHaan 20708e31b1 Merge pull request #4133 from skyl/DIST_MODULE_PATH
DEFAULT_MODULE_PATH in setup.py
12 years ago
Michael DeHaan 76fd60dad8 Update CONTRIBUTING.md 12 years ago
David Stygstra 3fdbb56465 Add option for DNS nameservers to quantum_subnet module 12 years ago
James Cammarata aa64aecbed Merge pull request #4157 from yellottyellott/fix_accelerated_typo
Typo fix from `accelerated: true` to `accelerate: true`
12 years ago
Erick Yellott af7b182958 Typo fix from `accelerated: true` to `accelerate: true` 12 years ago
Ralph Bean a9a2a96218 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.
12 years ago
Ralph Bean 6ecf41530b Fix an example with a yaml syntax error. 12 years ago
Ralph Bean d782d91b80 Fix some "make pep8" errors in the digital_ocean module. 12 years ago
Marcin Płonka d0c78bdc83 using AIX 'csum' command for generating MD5 checksums 12 years ago
Brian Harring 5b1b831cc7 Make ssh's ControlPath configurable via ansible.cfg
This shouldn't generally be needed unless you're working in an environment
that uses rediculously long FQDNs; if the name is too long, you wind up
hitting unix domain socket filepath limits enforced by ssh.
12 years ago
James Cammarata 022918e5af Merge branch 'fix/apt_repository_update_cache' of https://github.com/resmo/ansible into resmo-fix/apt_repository_update_cache 12 years ago
James Cammarata 687753e4cb Fixing up some search/replace errors regarding user/remote_user 12 years ago