Commit Graph

6890 Commits (0c2994f6534dc9c5b569755cd70197d60e5770c7)
 

Author SHA1 Message Date
James Cammarata 720b68a3c6 Merge branch 'maxamillion/firewalld' of https://github.com/maxamillion/ansible into maxamillion-maxamillion/firewalld 11 years ago
James Cammarata 0f0de30f81 Updating CHANGELOG for the ec2_eip module addition 11 years ago
James Cammarata a26c1b64c6 Minor pep8 cleanup in ec2_eip module 11 years ago
James Cammarata f369650922 Merge branch 'ec2_eip' of https://github.com/lorin/ansible into lorin-ec2_eip 11 years ago
James Cammarata 1f674c4a50 Merge branch 'fix_selinux_debian' of https://github.com/mscherer/ansible into mscherer-fix_selinux_debian 11 years ago
James Cammarata 51638df48f Minor format fix in ansible-pull related to the -f patch 11 years ago
James Cammarata 97e3e967a7 Merge branch 'devel' of https://github.com/jflorian/ansible into jflorian-devel 11 years ago
Alek Storm 3569a2ffee Handle AnsibleUndefinedVariable's raised from lookup plugins like jinja2 UndefinedError's 11 years ago
James Cammarata 8034231a00 Merge pull request #4192 from jlund/role-typo
Fixed typo in Role Default Variable documentation
11 years ago
James Cammarata ecaf649adc Changed the version_added field in rax_clb_nodes to 1.4 11 years ago
James Cammarata 93fd06d48c Minor doc fix and a CHANGELOG update for the new rax_clb_nodes module 11 years ago
James Cammarata e4ee97384a Merge branch 'rax-clb-nodes' of https://github.com/neuroid/ansible into neuroid-rax-clb-nodes 11 years ago
Joshua Lund 65de1f1c8b Fixed typo in Role Default Variable documentation 11 years ago
James Cammarata 519d195f2a Merge branch 'rax_wait_on_delete' of https://github.com/jlaska/ansible into jlaska-rax_wait_on_delete 11 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
11 years ago
Phillip 4b5b6e91fe adding an optional delimiter argument to the assemble module 11 years ago
René Moser 0ba7acd205 host: code cleanup 11 years ago
James Cammarata 27e8675277 Make the role_name in the task its own field for use in the callback 11 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.
11 years ago
James Cammarata 7272aa0347 Merge branch 'devel' of https://github.com/pieteravonts/ansible into pieteravonts-devel 11 years ago
James Cammarata 98cfcec5e2 Correct role name detection 11 years ago
James Cammarata 8dcf386def Don't set the role name on handlers as this breaks notifications 11 years ago
Pieter Avonts 60d8f92b3c changed deprecated channel_label attribute 11 years ago
James Cammarata a5ee6ff1e5 Display parent role name of tasks in the name line
Fixes #4076
11 years ago
James Cammarata c2e02fbd6b Minor tweak to service changed logic from the previous commit 11 years ago
James Cammarata f62093da56 Merge branch 'service-enable-fix' of https://github.com/gottwald/ansible into gottwald-service-enable-fix 11 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
11 years ago
René Moser bcaab4236b host: updated version_added 11 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
11 years ago
James Cammarata d89f104e91 Merge pull request #4179 from resmo/fix/doc-apt-repository
Fixed missing required package in notes.
11 years ago
René Moser ccf4cf1dd8 Fixed missing required package in notes. 11 years ago
James Cammarata c840cbaad9 Merge branch 'fork_fixes' of https://github.com/akerl/ansible into akerl-fork_fixes 11 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
11 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)
11 years ago
Nigel Metheringham f0cc2d6efe Added md5 as a jinja filter - returns hex digest of input 11 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 11 years ago
Thomas Omans 91a4ba2248 allowing a roles to do be made out of dependencies alone 11 years ago
David Stygstra 58620ca477 Add Python 2.4 support to modprobe module 11 years ago
David Stygstra 27a08dc647 Module to manage kernel modules 11 years ago
James Cammarata 503f062521 Merge branch 'ferringb-fixes/configurable-ControlPath' into devel 11 years ago
James Cammarata 848a966736 Adding example section to ansible.cfg for the control_path setting 11 years ago
Lorin Hochstein d4326d8196 htpasswd docs: add notes about depending on python-passlib 11 years ago
Michael DeHaan 20708e31b1 Merge pull request #4133 from skyl/DIST_MODULE_PATH
DEFAULT_MODULE_PATH in setup.py
11 years ago
Michael DeHaan 76fd60dad8 Update CONTRIBUTING.md 11 years ago
David Stygstra 3fdbb56465 Add option for DNS nameservers to quantum_subnet module 11 years ago
James Cammarata aa64aecbed Merge pull request #4157 from yellottyellott/fix_accelerated_typo
Typo fix from `accelerated: true` to `accelerate: true`
11 years ago
Erick Yellott af7b182958 Typo fix from `accelerated: true` to `accelerate: true` 11 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.
11 years ago
Ralph Bean 6ecf41530b Fix an example with a yaml syntax error. 11 years ago
Ralph Bean d782d91b80 Fix some "make pep8" errors in the digital_ocean module. 11 years ago