Commit graph

2234 commits

Author SHA1 Message Date
Kevin Montuori
ee399420b6 added a provision for passing a server password to IRC 2013-06-26 14:16:59 +00:00
Curtis
a5ecde9ccf fixup appearances of config_directory, remove slash, remove hardcoded /etc/bprobe 2013-06-25 14:40:14 -06:00
Bruce Pennypacker
88d9145235 Fixed stat of symlinked dirs 2013-06-25 14:14:18 -04:00
Bruce Pennypacker
8f19762748 get file/path facts via 'stat' 2013-06-25 11:04:22 -04:00
Lorin Hochstein
1847669754 Add GPL header and copyright 2013-06-24 21:18:05 -04:00
Curtis
b3df566399 made changes as requested by mpdehaan and added code to remove key and cert pem files on removal of meter 2013-06-24 16:20:36 -06:00
Serge van Ginderachter
fc01f88228 add more support for different size formats 2013-06-24 22:37:31 +02:00
Lorin Hochstein
1626bce3a4 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
James Laska
ab745fa0b6 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
Lorin Hochstein
12c189231c 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
martin f. krafft
3b7b061b07 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>
2013-06-23 09:19:27 +02:00
martin f. krafft
22b30b9281 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>
2013-06-22 20:04:37 +02:00
Benjamin Schwarze
7cc00f9a03 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
John Jarvis
eb97624de3 typo 2013-06-21 13:45:14 -04:00
John Jarvis
abffe2e9a6 using instance_ids and state=absent for removing instances 2013-06-21 13:43:29 -04:00
Vincent Viallet
e7f17e7989 Improve error messages on missing required variables. 2013-06-21 21:41:00 +08:00
Vincent Viallet
c3846dd33b Consistent wait_timeout between doc and module 2013-06-21 18:03:55 +09:00
Vincent Viallet
a04af8e461 Fix last bugs, complete all tests. 2013-06-21 17:01:29 +08:00
Vincent Viallet
fa0595e72b Update documentation 2013-06-21 13:59:09 +08:00
Vincent Viallet
3efba3f529 Add linode cloud provider. 2013-06-21 13:41:33 +08:00
John Jarvis
0cc09a47e5 Adds termination support to the ec2 module
Pass in the `instances` output of the ec2 module
to terminate a list of instances that were previously provisioned.

Useful for automated testing.
2013-06-20 20:00:52 -04:00
Stephen Fromm
ddee9187f0 Add submodule support to git module
This does two things:
* add --recursive option to git clone command in clone().  This will
  initialize all submodules when cloning a remote repository.
* Add submodule_update() and call that from fetch().  submodule_update()
  calls two git commands iff the file .gitmodules exists in the
  repository:
  * 'git submodule sync' - synchronizes the submodules' remote URL
    configuration setting to the value in .gitmodules.
  * 'git submodule update --init --recursive' - initialize and update
    registered submodules to the commit specified in the index of the
    containing repository.

If a repository was cloned without --recursive, submodule_update() will
ensure that the submodules are initialized and updated.
2013-06-20 14:48:39 -07:00
Mike Grozak
da2fb08d47 Fixed typo 2013-06-20 12:46:23 +02:00
Mike Grozak
58618eef8d Updated documentaion for the file module 2013-06-20 12:46:23 +02:00
Mike Grozak
ee813d3bd7 added possibility to force symlinks to none-existent destination (which might appear later) 2013-06-20 12:43:23 +02:00
Mike Grozak
4716b779f6 added force parameter to symlink invocation, in order to force the creation in case of already existing destination with the type of 'file' 2013-06-20 12:43:23 +02:00
Michael DeHaan
0ed5d18d60 Fixup versions of newly added modules. 2013-06-19 22:39:08 -04:00
Michael DeHaan
997bf64f3f Fix up some module docs formatting errors. 2013-06-19 22:37:09 -04:00
Michael DeHaan
e6bc5ce124 YAML fix 2013-06-19 22:33:19 -04:00
Michael DeHaan
52ef5056d9 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
531e290033 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
78bc5fd729 Various code reformatting 2013-06-19 22:23:31 -04:00
Michael DeHaan
7b8101eebf Merge branch 'rds' of git://github.com/bpennypacker/ansible into rds 2013-06-19 22:11:41 -04:00
Michael DeHaan
2b5a7c69a9 Quote some strings in the docs 2013-06-19 22:10:48 -04:00
Michael DeHaan
b5d25b9843 Merge pull request #3171 from mynameisdaniil/devel
Adds 'groups' field into ec2 plugin
2013-06-19 19:06:29 -07:00
Michael DeHaan
28157b5a7a Merge pull request #3226 from jpmens/ini_file2
ini_file: add support for lists of options/values
2013-06-19 18:59:19 -07:00
Michael DeHaan
f986665c5d Merge branch 'ocean' into devel
Conflicts:
	library/cloud/digital_ocean
2013-06-19 21:53:33 -04:00
Michael DeHaan
a85c97edfb Reformat examples 2013-06-19 21:52:59 -04:00
Vincent Viallet
a8e6e7c312 Rename digital ocean module to digital_ocean, add documentation. 2013-06-19 21:49:05 -04:00
Vincent Viallet
dc5a34efbe Ensure an existing ssh-key returns useful information (id + name) instead of a string; this way it can be used to register a variable to use in a later task. 2013-06-19 21:48:52 -04:00
Vincent Viallet
0d649ebe26 Add digital-ocean cloud support. 2013-06-19 21:48:41 -04:00
Michael DeHaan
1bbbf445b3 Merge branch 'digitalocean' of git://github.com/devo-ps/ansible into ocean 2013-06-19 21:48:19 -04:00
Michael DeHaan
71e6f1ee67 Merge branch 'purge' into devel 2013-06-19 21:38:39 -04:00
martin f. krafft
71f0cdc334 Fix purging of packages
A small error in the reuse of a variable caused packages to never get
purged. This commit fixes that.

Signed-off-by: martin f. krafft <madduck@madduck.net>
2013-06-19 21:37:37 -04:00
Michael DeHaan
fe871ecfd4 Merge branch 'fix-apt-purge' of git://github.com/madduck/ansible into purge 2013-06-19 21:35:28 -04:00
Joshua Lund
166ea0e175 * Updated all ansible.cc references in the documentation to point
to ansibleworks.com
* Fixed a few misspelled words
2013-06-19 19:34:02 -06:00
Michael DeHaan
204fb803c6 Merge pull request #3259 from dirtyharrycallahan/b_setup
bug fix: modify get_device_facts to handle servers with multiple pci domains
2013-06-19 18:24:10 -07:00
Michael DeHaan
79a9629108 Revert "now modules can implement with_items list globbing w/o updating"
This reverts commit 4942a06bc2.

Conflicts:

	lib/ansible/runner/__init__.py
2013-06-19 19:00:18 -04:00
Curtis
7983139383 initial commit of boundary_meter module 2013-06-19 16:01:47 -06:00
Daniil
9d79bfa4ee Allow 'ec2.group' field to handle lists of groups 2013-06-20 01:23:30 +04:00