Michael DeHaan
8f220a4f77
Always pipe stderr in the setup module to avoid JSON interference.
12 years ago
Michael DeHaan
7c2fe3da16
Merge pull request #989 from willthames/command-expand-path
...
Allow ~ expansion in chdir argument of command module
12 years ago
willthames
8b8eae7d82
Allow ~ expansion in chdir argument of command module
...
This allows the use of ~ in the chdir argument of the command module
I know the later change is absolutely necessary as the first change
was not sufficient. It may be that the first change fixes shell and
the second fixes command.
12 years ago
Michael DeHaan
8c028c4cfa
Merge pull request #988 from willthames/svn-expand-path
...
Subversion dest should allow ~ expansion
12 years ago
willthames
d4c4a51866
Subversion dest should allow ~ expansion
...
Used os.path.expanduser on dest to allow e.g. ~/svn/repo as
a destination
12 years ago
Michael DeHaan
c04f00e3a6
Fix async callback
12 years ago
Michael DeHaan
9b6cf8db4f
Merge pull request #977 from jpmens/fromjson
...
Jinja2 filter from_json added, to_json renamed
12 years ago
Jan-Piet Mens
a37c6ea936
Jinja2 filter from_json added, to_json renamed
12 years ago
Michael DeHaan
f140332ff6
Make it possible in the inventory file to have spaces in host variables
12 years ago
Michael DeHaan
8e02b165f1
chmod +x
12 years ago
Michael DeHaan
b0ac7e07b0
Merge branch 'binpath' of https://github.com/sfromm/ansible into devel
...
Conflicts:
library/supervisorctl
12 years ago
Michael DeHaan
a454db5345
Merge pull request #970 from mattupstate/devel
...
Improve apt_repository and supervisorctl
12 years ago
Michael DeHaan
c774208bba
update changelog
12 years ago
Michael DeHaan
90f051f818
Merge pull request #971 from sfromm/seboolean
...
Add seboolean module
12 years ago
Michael DeHaan
092bd8e3da
make parameter required
12 years ago
Michael DeHaan
4da4c31dfb
Merge pull request #974 from goozbach/add_selinux_module
...
add selinux module
12 years ago
Derek Carter
2aa760a3fc
add selinux module
12 years ago
Stephen Fromm
6742e9c3f4
Add option required=(True|False) to get_bin_path and update modules
...
Added required as optional argument to get_bin_path(). It defaults to
false. Updated following modules to use required=True when calling
get_bin_path(): apt_repository, easy_install, group, pip,
supervisorctl, and user.
Also removed _find_supervisorctl() from supervisorctl module and updated
_is_running() to not need it.
12 years ago
Matt Wright
b93df1fc60
Update handling of state changes
12 years ago
Matt Wright
bdfccbfb34
Move conditional that accounts for variances in distros/versions to work when removing and adding.
12 years ago
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.
12 years ago
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.
12 years ago
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().
12 years ago
Stephen Fromm
bdb39058ae
Migrate apt_repository, group, and supervisorctl to use module.get_bin_path
12 years ago
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.
12 years ago
Michael DeHaan
2834ced1f0
Merge pull request #961 from bcoca/freebsd2
...
Freebsd2
12 years ago
Michael DeHaan
71cc73e142
Merge pull request #964 from dhozac/lineinfile
...
Add a lineinfile module
12 years ago
Michael DeHaan
7bb9f71a7e
Merge pull request #965 from dhozac/cowsay-no-shell
...
Invoke cowsay without going through the shell
12 years ago
Daniel Hokka Zakrisson
2d448f2a34
Invoke cowsay without going through the shell
12 years ago
Daniel Hokka Zakrisson
ed8e31d618
Add a lineinfile module
12 years ago
Brian Coca
a9cc24dcd5
added freebsd ports package
...
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
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>
12 years ago
Michael DeHaan
00c4c5c4a1
If tags "all" is used, don't choke.
12 years ago
Michael DeHaan
508c04b85b
remove svn tests
12 years ago
Michael DeHaan
d0994cd169
Merge branch 'setup-no-dash-facts' of https://github.com/tima/ansible into devel
...
Conflicts:
library/setup
12 years ago
Michael DeHaan
f07772b74b
update playbook example
12 years ago
Michael DeHaan
b65a2dbd4d
Merge pull request #952 from dagwieers/patch-1
...
Disable PasswordAuthentication when using -c ssh
12 years ago
Michael DeHaan
7ec0afbebc
Merge pull request #956 from tima/jinja-json-filter
...
Add tojson filter to jinja environment used by the template module.
12 years ago
Michael DeHaan
928cbdd756
Merge pull request #958 from marktheunissen/fix-mysql-example-playbook
...
Update the example playbook for the new MySQL parameter format
12 years ago
Michael DeHaan
85803b0cf8
Merge pull request #960 from mattupstate/devel
...
fix bug in supervisorctl module
12 years ago
Matt Wright
a82928e7dc
fix bug in supervisorctl module
12 years ago
Timothy Appnel
8c32aefc80
Replace - with _ in setup module key names to avoid variable access problems reported in #954
12 years ago
Mark Theunissen
bfe3e97e63
Update the example playbook for the new MySQL parameter format
12 years ago
Timothy Appnel
d306c8debc
Add tojson filter to jinja environment used by the template module.
12 years ago
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
12 years ago
Michael DeHaan
f9e9753141
Remove obsolete comment
12 years ago
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.
12 years ago
Michael DeHaan
b9332e2d84
Merge pull request #950 from tbielawa/nagios_cfg
...
Change from a module config file to brute force locating the nagios conf...
12 years ago
Ingo Gottwald
30fdd56560
Added cwd to tempdir in git clone method. Fixes usage with sudo.
12 years ago
Tim Bielawa
6b73907811
Change from a module config file to brute force locating the nagios configs so we can find the command file.
12 years ago