Commit graph

3041 commits

Author SHA1 Message Date
Matt Wright
bdfccbfb34 Move conditional that accounts for variances in distros/versions to work when removing and adding. 2012-08-30 12:35:37 -04:00
Stephen Fromm
97c2e58081 Add seboolean module
Will manage values of seboolean on a host.  Options are name (name of
boolean), state (on or off), and persistent (on or off).  Persistent
defaults to no.
2012-08-30 09:33:09 -07:00
Chris Geddings
b0c2545dc4 updated README.md to include cegeddin playbooks 2012-08-30 11:12:13 -04:00
Chris Geddings
f3ae13a052 added cegeddin repo to playbooks 2012-08-30 11:07:34 -04:00
Stephen Fromm
e5a635672c Migrate remaining modules to use get_bin_path in module_common.py
* Migraed easy_install, pip, service, setup, and user.
* Updated fail_json message in apt_repository
* Fixed easy_install to not hardcode location of virtualenv in
  /usr/local/bin/.
* Made handling of virtualenv more consistent between easy_install and
  pip.
2012-08-29 20:26:22 -07:00
Daniel Hokka Zakrisson
09f7bd1a9b Add lineinfile module 2012-08-30 04:22:51 +02:00
Stephen Fromm
4e7b67a45a Add option to pass list of dirs to get_bin_path in module_common.py
The optional list is prepended to PATH.
Fix get_bin_path() to use os.path.join().
2012-08-29 17:08:45 -07:00
Stephen Fromm
bdb39058ae Migrate apt_repository, group, and supervisorctl to use module.get_bin_path 2012-08-29 16:24:49 -07:00
Stephen Fromm
4c62e495eb Add method get_bin_path to module_common.py
This is meant to assist all the modules that look for the full path of
an executable.  If it is found and is X_OK, returns the full path.
Otherwise, it returns None.
2012-08-29 16:24:49 -07:00
Michael DeHaan
2834ced1f0 Merge pull request #961 from bcoca/freebsd2
Freebsd2
2012-08-29 15:57:17 -07:00
Michael DeHaan
71cc73e142 Merge pull request #964 from dhozac/lineinfile
Add a lineinfile module
2012-08-29 15:56:48 -07:00
Michael DeHaan
7bb9f71a7e Merge pull request #965 from dhozac/cowsay-no-shell
Invoke cowsay without going through the shell
2012-08-29 15:55:43 -07:00
Daniel Hokka Zakrisson
2d448f2a34 Invoke cowsay without going through the shell 2012-08-30 00:11:40 +02:00
Daniel Hokka Zakrisson
ed8e31d618 Add a lineinfile module 2012-08-30 00:07:58 +02:00
Brian Coca
a9cc24dcd5 added freebsd ports package
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2012-08-29 09:46:16 -04:00
Brian Coca
83d1028a21 - Makefile now works with freebsd (date command options are diff)
date still issues warning and ignores TZ

- Updated tests to work inside bsd jails (127 addresses are an issue)
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
2012-08-29 09:46:05 -04:00
Michael DeHaan
b12eeec85f Rebuild 2012-08-28 20:48:25 -04:00
Michael DeHaan
f542e10cc6 Merge pull request #205 from tbielawa/playbooks2_toc
Add auto-gen TOCs to a bunch of pages.
2012-08-28 17:45:20 -07:00
Michael DeHaan
67fcd7bea1 Merge pull request #206 from tbielawa/future
You can include playbooks now.
2012-08-28 17:44:33 -07:00
Michael DeHaan
87edeaf5b6 Merge pull request #1 from mavimo/master
OpenStack inventory
2012-08-28 17:43:57 -07:00
Michael DeHaan
00c4c5c4a1 If tags "all" is used, don't choke. 2012-08-28 20:33:36 -04:00
Michael DeHaan
508c04b85b remove svn tests 2012-08-28 20:30:14 -04:00
Michael DeHaan
d0994cd169 Merge branch 'setup-no-dash-facts' of https://github.com/tima/ansible into devel
Conflicts:
	library/setup
2012-08-28 20:29:40 -04:00
Michael DeHaan
f07772b74b update playbook example 2012-08-28 20:27:17 -04:00
Michael DeHaan
b65a2dbd4d Merge pull request #952 from dagwieers/patch-1
Disable PasswordAuthentication when using -c ssh
2012-08-28 17:25:35 -07:00
Michael DeHaan
7ec0afbebc Merge pull request #956 from tima/jinja-json-filter
Add tojson filter to jinja environment used by the template module.
2012-08-28 17:24:08 -07:00
Michael DeHaan
928cbdd756 Merge pull request #958 from marktheunissen/fix-mysql-example-playbook
Update the example playbook for the new MySQL parameter format
2012-08-28 17:22:49 -07:00
Michael DeHaan
85803b0cf8 Merge pull request #960 from mattupstate/devel
fix bug in supervisorctl module
2012-08-28 17:21:31 -07:00
Matt Wright
a82928e7dc fix bug in supervisorctl module 2012-08-28 19:21:05 -04:00
Timothy Appnel
8c32aefc80 Replace - with _ in setup module key names to avoid variable access problems reported in #954 2012-08-28 19:02:19 -04:00
Mark Theunissen
bfe3e97e63 Update the example playbook for the new MySQL parameter format 2012-08-28 17:51:12 -05:00
Timothy Appnel
d306c8debc Add tojson filter to jinja environment used by the template module. 2012-08-28 18:10:19 -04:00
Tim Bielawa
85277e9e64 You can include playbooks now. 2012-08-28 16:04:36 -04:00
Marco Vito Moscaritolo
d9e8a6c2e1 Added basic support for OpenStack inventory support. Tested only with RackSpace. Require python-novaclient to work. 2012-08-28 21:56:16 +02:00
Tim Bielawa
b9f7ea7198 Add auto-gen TOCs to a bunch of pages. 2012-08-28 15:41:10 -04:00
Dag Wieers
30f4f83a4c Disable PasswordAuthentication when using -c ssh
If PasswordAuthentication is enabled (which is the default) ansible 
will spawn (multiple) ssh's with a password-prompt which corrupts 
the terminal, and cannot be properly used.

So it is better to not allow for password-based authentication using 
-c ssh. The result is that authentication fails but Ansible 
continues to work
2012-08-28 16:28:08 +03:00
Michael DeHaan
47eea55d13 rebuild 2012-08-28 07:39:55 -04:00
Michael DeHaan
5b6046545e Merge pull request #204 from tbielawa/nagios_cfg
change default desc for cmdfile parameter
2012-08-28 04:39:19 -07:00
Michael DeHaan
f9e9753141 Remove obsolete comment 2012-08-28 07:29:32 -04:00
Michael DeHaan
d7eed66a06 Merge pull request #951 from gottwald/devel-git-sudo-fix
Added cwd to tempdir in git clone method. Fixes usage with sudo.
2012-08-28 04:28:46 -07:00
Michael DeHaan
b9332e2d84 Merge pull request #950 from tbielawa/nagios_cfg
Change from a module config file to brute force locating the nagios conf...
2012-08-28 04:25:31 -07:00
Ingo Gottwald
30fdd56560 Added cwd to tempdir in git clone method. Fixes usage with sudo. 2012-08-28 11:28:50 +02:00
Tim Bielawa
6b73907811 Change from a module config file to brute force locating the nagios configs so we can find the command file. 2012-08-28 02:16:07 -04:00
Tim Bielawa
720953664c change default desc for cmdfile parameter 2012-08-28 02:13:49 -04:00
Michael DeHaan
989817657f Add versionadded to nagios docs 2012-08-27 22:33:31 -04:00
Michael DeHaan
9e51b96a10 Rebuild 2012-08-27 22:07:35 -04:00
Michael DeHaan
3830b2ce1d Remove part about module config file as I don't want to encourage modules to take configuration files. 2012-08-27 22:06:14 -04:00
Michael DeHaan
3299485d9b Merge documentation sections. 2012-08-27 22:05:40 -04:00
Michael DeHaan
47542aefc5 rebuild 2012-08-27 21:59:44 -04:00
Michael DeHaan
be6b9b0594 Fix rst formatting + rebuild 2012-08-27 21:59:37 -04:00