Commit graph

5996 commits

Author SHA1 Message Date
Michael DeHaan
e6adc2f066 Merge branch 'devel' of git://github.com/arturaz/ansible into devel 2013-06-30 18:25:33 -04:00
Michael DeHaan
29894737cf Merge pull request #3374 from jsmartin/bugfix
cloudformation: Fixed bug in module_fail. Consistent error handling.
2013-06-30 15:22:25 -07:00
Michael DeHaan
407edf097a Merge pull request #3386 from skorokithakis/feature/onlyifchanged
Add --only-if-changed option.
2013-06-30 14:23:44 -07:00
Michael DeHaan
213e74a44c Merge pull request #3298 from devo-ps/linode
Add Linode cloud support.
2013-06-30 14:22:07 -07:00
Stavros Korokithakis
53207ddbdf Add --only-if-changed option. 2013-07-01 00:20:58 +03:00
Michael DeHaan
1d1d30f338 Merge pull request #3357 from neomantra/devel
Add DigitalOcean inventory plugin
2013-06-30 14:20:21 -07:00
Michael DeHaan
f2e3a9a850 Merge pull request #3370 from y-p/PR_role_doc_enh
Add doc example of attaching tags to a role
2013-06-30 14:18:11 -07:00
Michael DeHaan
fa4313c7ee Merge pull request #3358 from aristanetworks/devel
initial arista module import
2013-06-30 14:17:47 -07:00
Michael DeHaan
146455fd0a Merge pull request #3375 from jhoekx/mandatory-filter
Add a mandatory jinja2 filter for use in templates.
2013-06-30 14:16:17 -07:00
Michael DeHaan
a501e94b63 Merge pull request #3364 from sergevanginderachter/lvol
lvol module: add support for multiple size formats
2013-06-30 14:15:55 -07:00
Michael DeHaan
8dfff02077 Merge pull request #3373 from exosite/devel
Added Linode inventory plugin
2013-06-30 14:14:48 -07:00
James Martin
7b825f72df Fixed bug in module_fail. Consistent error handling. Adding comments. Removal of unused variable. Removed unecessary wait_for option. was never been used to begin with. Trim down the stack_outputs. Don't need to include stack name and region since they are already required parameters. Rollback supported in status operations. Using dict when possible. 2013-06-30 16:59:50 -04:00
Michael DeHaan
6d5ac43dcb Merge pull request #3368 from j2sol/wait_for_improv
Improvements to wait_for module
2013-06-30 09:20:12 -07:00
Michael DeHaan
88c907af90 Merge pull request #3340 from bpennypacker/stat
get file/path facts via 'stat'
2013-06-30 09:19:06 -07:00
Michael DeHaan
71b9be509c Merge pull request #3347 from AscendLearning/irc-with-pass
Added a provision for passing a server password to IRC
2013-06-30 09:17:19 -07:00
Michael DeHaan
a8e8a9583b Merge pull request #3336 from lorin/htpasswd
Add htpasswd module
2013-06-30 09:15:50 -07:00
Michael DeHaan
98e7eaf07a Merge pull request #3316 from dsedivec/devel
expanduser on each component of plug-in paths
2013-06-30 09:12:15 -07:00
Michael DeHaan
e4e3c239c7 Merge pull request #3385 from stoned/find_plugin-cleanup
Remove redundant call to _get_path() in PluginLoader.find_plugin()
2013-06-30 08:29:09 -07:00
Stoned Elipot
b7f89837bb Remove redundant call to _get_path() in PluginLoader.find_plugin() 2013-06-30 16:38:26 +02:00
serenecloud
a17ca862fb Return a friendly error message if aptitude isn't installed 2013-06-30 15:36:13 +12:00
Peter Sprygada
037a6d497b moved modules to net_infrastructure 2013-06-29 19:59:14 -04:00
Michael DeHaan
d61a65ff08 Merge pull request #3377 from kjkuan/easy_install_fix
Fix the issue of easy_install ignoring virtualenv_site_packages=yes.
2013-06-29 14:21:44 -07:00
Jack Kuan
a07324c590 Fix the issue of easy_install ignoring virtualenv_site_packages=yes. 2013-06-29 17:03:12 -04:00
Jeroen Hoekx
a37f55d32e Add a mandatory jinja2 filter for use in templates. 2013-06-29 16:01:34 +02:00
Dan Slimmon
35d8d118a4 Added notes about hostname resolution. 2013-06-28 19:51:58 +00:00
Dan Slimmon
eb2653283c Added linode plugin 2013-06-28 19:11:32 +00:00
y-p
a4dfc14a6c Add doc example of attaching tags to a role 2013-06-28 16:28:41 +03:00
shirou
a439afeb8f add description about host parameters in a inventory file. 2013-06-28 17:59:47 +09:00
Michael DeHaan
467f612ef6 Merge pull request #3367 from rstrox/devel
Include identity_type required by Pyrax 1.4
2013-06-27 18:15:31 -07:00
Jesse Keating
d541e68027 Elapsed time should account for the delay 2013-06-27 17:42:33 -07:00
Evan Wies
01c9e7ea88 digital_ocean: add --env to inventory script 2013-06-27 14:52:32 -04:00
rstrox
e836e5789e Include identity_type required by Pyrax 1.4 2013-06-27 13:50:36 -05:00
Evan Wies
807f3e76db Add DigitalOcean inventory plugin
Intended to complement the recently added digital_ocean module.
2013-06-26 23:01:30 -04:00
Peter Sprygada
eb082e22b8 initial arista module import 2013-06-26 22:59:23 -04:00
Joshua Lund
dc984d94ac Updates to Ansible command options
* Moved the --list-hosts option that is common to both `ansible` and
  `ansible-playbook` into utils/__init__.py (corrects a FIXME)
* Wrote new help text for the --list-hosts option that makes sense
  for both of the commands that it applies to
* Changed the usage argument in `ansible-playbook` so that it is
  setup in the base_parser method the same way that it is in
  the `ansible` executable
* Updated the help text for several options to correct typos,
  clarify meaning, improve readability, or fix grammatical errors.
  In the case of `ansible-pull`, I changed the help text so that
  it adheres to the same standards as the other executables.
2013-06-26 19:57:31 -06:00
Michael DeHaan
27d90e9003 Merge pull request #3353 from j2sol/typo
Remove a trailing quote
2013-06-26 15:34:51 -07:00
Jesse Keating
95326ce41b Remove a trailing quote 2013-06-26 15:09:00 -07:00
Michael DeHaan
0a10727652 Merge pull request #3350 from billwanjohi/devel
validate files: fix usage error in example tasks
2013-06-26 13:14:42 -07:00
Michael DeHaan
f3093cbb1a Fixup previous apt_key patch to enable file based modes to work. 2013-06-26 14:46:29 -04:00
billwanjohi
bf56d69df7 validate files: fix usage error in example command
visudo requires the -f option to check any other file than the default.
I've added this to the example ansible tasks.
2013-06-26 13:24:15 -05:00
Michael DeHaan
d9eca9182e Merge pull request #3349 from tgerla/fixec2
ec2 inventory plugin: fix whitespace around connection validity test
2013-06-26 09:54:05 -07:00
Bruce Pennypacker
c47d121481 don't fail if the file doesn't exist. Just set 'exists' to true/false as appropriate 2013-06-26 12:32:28 -04:00
Tim Gerla
57b72d242a ec2 inventory plugin: fix whitespace around connection validity test 2013-06-26 09:22:16 -07:00
Kevin Montuori
b86d93adc9 added a provision for passing a server password to IRC 2013-06-26 14:16:59 +00:00
Michael DeHaan
6853553310 Merge pull request #3343 from j2sol/add_host_changed
add_host should not be a changed action
2013-06-25 19:26:03 -07:00
Bruce Pennypacker
59a045e4cb Fixed stat of symlinked dirs 2013-06-25 14:14:18 -04:00
Jesse Keating
e1dd83f2b6 add_host should not be a changed action
The action doesn't actually change anything on a system, so setting
the status to changed is wrong. add_host is much like set_fact in that
regard.

Since changed is False by default, there is no need to explicity set
it, so just create an empty dict for result and add to it from there.
2013-06-25 10:58:55 -07:00
Bruce Pennypacker
19b8de7ede get file/path facts via 'stat' 2013-06-25 11:04:22 -04:00
Arturas Slajus
9be93d6ac7 Better error for fireball + sudo mode. 2013-06-25 10:45:01 +03:00
Lorin Hochstein
f69f364b90 Add GPL header and copyright 2013-06-24 21:18:05 -04:00