Commit graph

5744 commits

Author SHA1 Message Date
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
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
Serge van Ginderachter
f000dcd526 add more support for different size formats 2013-06-24 22:37:31 +02:00
Lorin Hochstein
06d92f1103 Add htpasswd module
Add a new module for managing entries in an htpasswd file, used
for basic authentication with web servers such as Apache and Nginx
2013-06-24 16:24:55 -04:00
Michael DeHaan
6304b7e793 Merge pull request #3332 from jlaska/rhn_register_cfgfile_fix
rhn_register - Correctly load up2date configuration
2013-06-24 10:43:46 -07:00
James Laska
4311412b44 Correctly load up2date configuration
Previously, a configuration file name of None was being passed into
up2dateInitConfig().  This resulted in a correct configuration import,
but failed to properly save the configuration back to disk in the event
a different serverURL was supplied.  This change removes support for
customizing the up2date filename entirely, and relies on up2date to
choose the default config filename.
2013-06-24 13:00:23 -04:00
Michael DeHaan
f42e3bf010 Merge pull request #3323 from lorin/rabbit-pw-force
Doc: rabbitmq_user pw change and force
2013-06-23 10:52:44 -07:00
Michael DeHaan
da34aec0fe Merge pull request #3322 from stoned/hacking-env-setup
Handle login shell bash processes hence match $0 with "*bash"
2013-06-23 10:00:56 -07:00
Lorin Hochstein
1bcc60992c Doc: rabbitmq_user pw change and force
Document that need to add force=yes to change password of
existing user
2013-06-23 11:05:09 -04:00
Stoned Elipot
6d2e94966c Handle login shell bash processes hence match $0 with "*bash" 2013-06-23 15:32:45 +02:00
Michael DeHaan
64995bfc22 Merge pull request #3314 from benjixx/fix-digitalocean-arguments
fix wrong argument_spec in digital_ocean module
2013-06-22 15:32:06 -07:00
Dale Sedivec
b32131c867 expanduser on each component of plug-in paths
ansible.constants was calling expanduser (by way of shell_expand_path)
on the entire configured value for the library and *_plugins
configuration values, but these values have always been interpreted as
multiple directories separated by os.pathsep.  Thus, if you supplied
multiple directories for one of these values, typically only the first
(at least on *nix) would have e.g. "~" expanded to HOME.

Now PluginLoader does expansion on each individual path in each of
these variables.
2013-06-22 17:01:12 -05:00
Benjamin Schwarze
31bc25063e fix wrong argument_spec in digital_ocean module
as 'required' and 'default' are mutually exclusive removed 'required' in preference of 'default'
2013-06-22 14:48:25 +02:00
Vincent Viallet
7b0b9016b5 Improve error messages on missing required variables. 2013-06-21 21:41:00 +08:00
Vincent Viallet
c124411c36 Consistent wait_timeout between doc and module 2013-06-21 18:03:55 +09:00
Vincent Viallet
2eaf5ee206 Fix last bugs, complete all tests. 2013-06-21 17:01:29 +08:00
Vincent Viallet
17a55d6adf Update documentation 2013-06-21 13:59:09 +08:00
Vincent Viallet
9c26b9ddce Add linode cloud provider. 2013-06-21 13:41:33 +08:00
Michael DeHaan
c7c5ac1ab6 Merge pull request #3288 from espro/devel
Update ansible.cfg
2013-06-20 14:08:45 -07:00
espro
3eeacaba81 Updated ansible.cfg to be more consistent
Updated the example ansible.cfg to be more consistent in spacing/commented lines
2013-06-20 17:19:47 -03:00
espro
a00c7b0c08 Comment remote_user in ansible.cfg
remote_user should not be set in example config. This file is used in rpm .spec for /etc/ansible/ansible.cfg
2013-06-20 16:14:15 -04:00
espro
e2cf3b2d29 Update ansible.cfg
Previous commit made config invalid.
2013-06-20 15:47:45 -04:00
Michael DeHaan
995ef374db Fixup versions of newly added modules. 2013-06-19 22:39:08 -04:00
Michael DeHaan
85ef79443a Fix a documentation formatting warning. 2013-06-19 22:38:04 -04:00
Michael DeHaan
3f8aa8aec5 Fix up some module docs formatting errors. 2013-06-19 22:37:09 -04:00
Michael DeHaan
231d9b101d YAML fix 2013-06-19 22:33:19 -04:00
Michael DeHaan
b72109a04b Merge pull request #3273 from jlund/ansiblecc-to-ansibleworkscom
Update all ansible.cc references in the documentation to point to ansibleworks.com
2013-06-19 19:31:34 -07:00
Michael DeHaan
727cee509c Merge branch 'PR_add_chdir_to_pip' of git://github.com/y-p/ansible into devel
Conflicts:
	library/packaging/pip
2013-06-19 22:30:44 -04:00
Michael DeHaan
4c51a6141b Merge remote branch 'origin/devel' into devel 2013-06-19 22:29:12 -04:00
Michael DeHaan
010440dc47 Merge pull request #3114 from laggyluke/roles_combine_vars
Added basic support for hash_behaviour=merge in roles
2013-06-19 19:27:27 -07:00
Michael DeHaan
200bd75426 Merge pull request #3149 from blandonnimrat/devel
added error checking on connect_to_region() in ec2.py
2013-06-19 19:26:17 -07:00
Michael DeHaan
49eb772667 Update changelog 2013-06-19 22:25:48 -04:00
Michael DeHaan
4c43264033 Various code reformatting 2013-06-19 22:23:31 -04:00
Michael DeHaan
db94171f5b Merge branch 'rds' of git://github.com/bpennypacker/ansible into rds 2013-06-19 22:11:41 -04:00
Michael DeHaan
2ed9b52481 Quote some strings in the docs 2013-06-19 22:10:48 -04:00