Commit Graph

5874 Commits (81940c8b1149cfdb49f9ac96d8b156544d5c9b2f)
 

Author SHA1 Message Date
Jack Kuan a07324c590 Fix the issue of easy_install ignoring virtualenv_site_packages=yes. 12 years ago
Jeroen Hoekx a37f55d32e Add a mandatory jinja2 filter for use in templates. 12 years ago
Dan Slimmon 35d8d118a4 Added notes about hostname resolution. 12 years ago
Dan Slimmon eb2653283c Added linode plugin 12 years ago
y-p a4dfc14a6c Add doc example of attaching tags to a role 12 years ago
shirou a439afeb8f add description about host parameters in a inventory file. 12 years ago
Michael DeHaan 467f612ef6 Merge pull request #3367 from rstrox/devel
Include identity_type required by Pyrax 1.4
12 years ago
Jesse Keating d541e68027 Elapsed time should account for the delay 12 years ago
Evan Wies 01c9e7ea88 digital_ocean: add --env to inventory script 12 years ago
rstrox e836e5789e Include identity_type required by Pyrax 1.4 12 years ago
Evan Wies 807f3e76db Add DigitalOcean inventory plugin
Intended to complement the recently added digital_ocean module.
12 years ago
Peter Sprygada eb082e22b8 initial arista module import 12 years ago
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.
12 years ago
Michael DeHaan 27d90e9003 Merge pull request #3353 from j2sol/typo
Remove a trailing quote
12 years ago
Jesse Keating 95326ce41b Remove a trailing quote 12 years ago
Michael DeHaan 0a10727652 Merge pull request #3350 from billwanjohi/devel
validate files: fix usage error in example tasks
12 years ago
Michael DeHaan f3093cbb1a Fixup previous apt_key patch to enable file based modes to work. 12 years ago
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.
12 years ago
Michael DeHaan d9eca9182e Merge pull request #3349 from tgerla/fixec2
ec2 inventory plugin: fix whitespace around connection validity test
12 years ago
Bruce Pennypacker c47d121481 don't fail if the file doesn't exist. Just set 'exists' to true/false as appropriate 12 years ago
Tim Gerla 57b72d242a ec2 inventory plugin: fix whitespace around connection validity test 12 years ago
Kevin Montuori b86d93adc9 added a provision for passing a server password to IRC 12 years ago
Michael DeHaan 6853553310 Merge pull request #3343 from j2sol/add_host_changed
add_host should not be a changed action
12 years ago
Bruce Pennypacker 59a045e4cb Fixed stat of symlinked dirs 12 years ago
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.
12 years ago
Bruce Pennypacker 19b8de7ede get file/path facts via 'stat' 12 years ago
Arturas Slajus 9be93d6ac7 Better error for fireball + sudo mode. 12 years ago
Lorin Hochstein f69f364b90 Add GPL header and copyright 12 years ago
Serge van Ginderachter f000dcd526 add more support for different size formats 12 years ago
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
12 years ago
Michael DeHaan 6304b7e793 Merge pull request #3332 from jlaska/rhn_register_cfgfile_fix
rhn_register - Correctly load up2date configuration
12 years ago
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.
12 years ago
Michael DeHaan f42e3bf010 Merge pull request #3323 from lorin/rabbit-pw-force
Doc: rabbitmq_user pw change and force
12 years ago
Michael DeHaan da34aec0fe Merge pull request #3322 from stoned/hacking-env-setup
Handle login shell bash processes hence match $0 with "*bash"
12 years ago
Lorin Hochstein 1bcc60992c Doc: rabbitmq_user pw change and force
Document that need to add force=yes to change password of
existing user
12 years ago
Stoned Elipot 6d2e94966c Handle login shell bash processes hence match $0 with "*bash" 12 years ago
martin f. krafft 3839dcd56c Remove extra $ character
Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
martin f. krafft 85b8538e0e Expand usage of Python 2.6 if statement
Syntax like "'foo' if bar else 'baz'" is not supported by all Python
versions targetted by Ansible. Hence we break it up.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Michael DeHaan 64995bfc22 Merge pull request #3314 from benjixx/fix-digitalocean-arguments
fix wrong argument_spec in digital_ocean module
12 years ago
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.
12 years ago
martin f. krafft 3df2e15277 Let update-rc.d set changed flag properly
When update-rc.d is used to enable/disable service, the changed flag was
always true (see #2189). This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
12 years ago
Benjamin Schwarze 31bc25063e fix wrong argument_spec in digital_ocean module
as 'required' and 'default' are mutually exclusive removed 'required' in preference of 'default'
12 years ago
John Jarvis a61ec2e6b3 typo 12 years ago
John Jarvis c85b0bb05f using instance_ids and state=absent for removing instances 12 years ago
Vincent Viallet 7b0b9016b5 Improve error messages on missing required variables. 12 years ago
Mark Mandel 73dda68e18 Don't turn on sudo for all tasks when setting the sudo_user or ask_sudo_pass, 12 years ago
Vincent Viallet c124411c36 Consistent wait_timeout between doc and module 12 years ago
Vincent Viallet 2eaf5ee206 Fix last bugs, complete all tests. 12 years ago
Vincent Viallet 17a55d6adf Update documentation 12 years ago
Vincent Viallet 9c26b9ddce Add linode cloud provider. 12 years ago