Nigel Metheringham
e2643cb55f
Broke BSD ifconfig parser into chunks for subclassing
...
This allows minor changes to be handled by adding a new
parse line function to the subclass
2013-02-28 09:58:29 +00:00
Nigel Metheringham
acc1c004d4
Restructured inheritance of BSD network classes
...
Now all BSD network classes directly inherit from Network as well as from the generic BSD network class. This removes the need for itersubclasses().
2013-02-28 09:07:54 +00:00
Patrick Pelletier
2778ee0eb5
Adding support for OpenWrt
2013-02-27 22:16:12 -05:00
Michael DeHaan
23bcb64758
Merge pull request #2224 from cliffano/patch-1
...
Fix proxy env format
2013-02-27 15:40:34 -08:00
Cliffano Subagio
19082f7b20
Fix proxy env format
...
The incorrect format (e.g. http_proxy=http://proxy.bos.example.com:8080 ) gave this error: "environment must be a dictionary".
2013-02-28 10:39:08 +11:00
Michael DeHaan
323ed27106
Merge pull request #2221 from sfromm/fix-ansible-cli-check-mode
...
Fix CliRunnerCallbacks.on_file_diff in callbacks.py
2013-02-27 15:34:05 -08:00
Stephen Fromm
fa07604d43
Fix CliRunnerCallbacks.on_file_diff in callbacks.py
...
When running ansible -C, I get a traceback that ends with
AttributeError: Values instance has no attribute 'diff'
This fixes on_file_diff to behave similar to
PlaybookRunnerCallbacks.on_file_diff().
2013-02-27 13:26:29 -08:00
Stephen Fromm
8f0d8a8546
Update various modules for check_mode
...
This updates the following modules to support check_mode:
* apt_key
* apt_repository
* easy_install
* pip - will always report changed due to the way it handles state
* seboolean
* selinux
* slurp - since nothing changes, it just adds that it supports
check_mode
* subversion - reports changed when checking out new repo and
when updating.
* supervisorctl
* svr4pkg
See issue #2114 .
2013-02-27 12:23:35 -08:00
Daniel Hokka Zakrisson
1fe744d2af
Fix apt module's boolean check to expect converted value
...
Fixes #2218 .
2013-02-27 20:02:34 +01:00
Daniel Hokka Zakrisson
cedfec763a
jsonify needs to return a string of {}, rather than a dict
2013-02-27 19:46:31 +01:00
Daniel Hokka Zakrisson
e4b72c0fd5
Revert to just escaping \ for JSON-args
2013-02-27 19:43:27 +01:00
Michael DeHaan
0342b054fd
Merge pull request #2215 from tastychutney/devel
...
Updated virtualenv note
2013-02-27 08:42:53 -08:00
Daniel Hokka Zakrisson
1601f0b4d7
Use repr to transfer JSON-arguments, so Python doesn't eat things
...
Fixes transferring newlines in args:, as well as """.
2013-02-27 17:16:23 +01:00
Scott Anderson
dc476a12a6
Updated virtualenv note
2013-02-27 10:01:12 -05:00
Michael DeHaan
0fc317de08
Merge pull request #2212 from jhoekx/lvol-module
...
Add lvol module to manage logical volumes.
2013-02-27 05:52:23 -08:00
Daniel Hokka Zakrisson
e33e84d24e
Merge pull request #2213 from huberteff/devel
...
Work around hanging module. Thanks to Daniel Hozac for the tip.
2013-02-27 04:30:39 -08:00
Hubert Feyrer
acf8ee9d61
Work around hanging module. Thanks to Daniel Hozac for the tip.
2013-02-27 13:26:12 +01:00
Jeroen Hoekx
01a9d79e11
Add lvol module to manage logical volumes.
2013-02-27 11:27:26 +01:00
Daniel Hokka Zakrisson
bcf7a2c53a
Catch all exceptions coming from lookup plugins
...
Fixes using $TEMPLATE() and hostvars in a task without a name, among
other things.
2013-02-27 10:11:14 +01:00
Brian Coca
e9907e9c8a
added random cow pick through ANSIBLE_COW_SELECTION env var
...
Signed-off-by: Brian Coca <bcoca@tablethotels.com>
2013-02-26 22:41:01 -05:00
Michael DeHaan
b1a4fab7e1
Merge pull request #2208 from tastychutney/devel
...
Better documentation, removed runfcgi, added createcachetable
2013-02-26 19:26:39 -08:00
Scott Anderson
36eeb7562a
Better documentation, removed runfcgi, added createcachetable, merge with Michael's changes
2013-02-26 22:11:30 -05:00
Michael DeHaan
fa550f3d7e
Adding a script to auto-generate an authors file, runnable from 'make authors', which is called from 'make docs/webdocs'.
2013-02-26 22:05:17 -05:00
Michael DeHaan
7dbfad8225
baby-JSON not supported, let selinux module warn using regular JSON
2013-02-26 21:57:47 -05:00
Michael DeHaan
f47ecf0fce
update changelog
2013-02-26 21:03:25 -05:00
Michael DeHaan
d251e68ac5
Resolve merge
2013-02-26 20:57:36 -05:00
Michael DeHaan
1366c663eb
Merge branch 'copy-diff-take2' of git://github.com/stoned/ansible into better_diff
...
Conflicts:
library/file
2013-02-26 20:51:32 -05:00
Michael DeHaan
9e2cb42b4f
Add some aliases for django manage, mainly around underscores, and use the newer (easier) way to do module docs. Also
...
add list of avail commands to docs.
2013-02-26 20:45:44 -05:00
Scott Anderson
06890085d2
Django manage.py administration module
2013-02-26 20:45:44 -05:00
Michael DeHaan
7090ad3aac
Merge pull request #2195 from tbielawa/NOOP
...
First try and making the nagios module NOOPpable
2013-02-26 17:32:41 -08:00
Michael DeHaan
c485cb3700
Remove some tab/space issues in previous commits.
2013-02-26 20:30:33 -05:00
Michael DeHaan
6a487409db
Merge branch 'postgresql-check-mode' of git://github.com/cocoy/ansible into devel
2013-02-26 20:28:04 -05:00
Michael DeHaan
0e1ba5e676
Prevent SVN checkouts from failing due self signed certs.
2013-02-26 20:23:12 -05:00
Michael DeHaan
9f083bfca3
Merge pull request #2207 from marktheunissen/mysql-pass-and-password
...
Adding back support for pass=
2013-02-26 16:12:09 -08:00
Mark Theunissen
234d31bf72
Adding back support for pass=
2013-02-26 16:27:23 -06:00
Daniel Hokka Zakrisson
93f02d614b
Merge pull request #2187 from dhozac/argument-type-check
...
Add type checking for module arguments, converting as much as possible
2013-02-26 14:05:36 -08:00
Michael DeHaan
964ef8d4a0
Merge pull request #2205 from jcftang/devel
...
Adopt best practices with distributing portfiles
2013-02-26 13:28:53 -08:00
Jimmy Tang
8a561d6cd7
Adopt best practices with distributing portfiles
...
Reorganised packaging and added some notes for less experienced users
on how to get the development version of ansible installed using macports.
2013-02-26 21:13:04 +00:00
Tim Bielawa
b0bd0a0f4a
Making the nagios module NOOPpable
2013-02-26 12:28:01 -05:00
Stoned Elipot
8816dc7ca7
Make diff header lines more explicit about what the diff is about
...
This gives a more readable output when producing diff for a task
with multiple items (with_items).
2013-02-26 16:53:59 +01:00
Stoned Elipot
1b8c9bab35
Fix diff when template destination is absent
2013-02-26 16:45:56 +01:00
Michael DeHaan
6a12d64059
Merge pull request #2200 from l0neranger/devel
...
fixing changelog
2013-02-26 06:18:27 -08:00
Sri Harsha Yalamanchili
5f55bac4f0
fixing changelog
2013-02-25 21:54:58 -08:00
Daniel Hokka Zakrisson
22e40b6a61
Merge pull request #2198 from skvidal/nolog-params
...
No_log params
2013-02-25 14:51:18 -08:00
Stoned Elipot
10e9f1fc1e
Implement --diff for the copy module.
2013-02-25 23:32:52 +01:00
Seth Vidal
f02ea15f0c
command: make sure that all _handle_aliases() calls returns {}
...
module_common: also work if there are no aliases (shell, command, etc) modules
2013-02-25 17:07:47 -05:00
Seth Vidal
b54887b03c
make sure ec2_secret_key is set to no_log=True
2013-02-25 16:34:06 -05:00
Seth Vidal
c95848ae59
- add an aliases attribute as a lookup of aliasname to canonical name
...
of parameters
- add support for no_log attribute per-parameter which will not log
that information to syslog
2013-02-25 16:33:04 -05:00
Daniel Hokka Zakrisson
e32fbd312f
Shell-quote environment contents
2013-02-25 22:31:49 +01:00
Daniel Hokka Zakrisson
27f3ba53f9
Remove debug print for environment
2013-02-25 22:29:32 +01:00