Commit Graph

522 Commits (b97e2a6f5ad2bac9da0e04c68680164f9f77f517)

Author SHA1 Message Date
Michael DeHaan b97e2a6f5a Merge branch 'backup-common' of https://github.com/dhozac/ansible into devel 12 years ago
Michael DeHaan c69c3d6e18 Merge pull request #995 from mattupstate/devel
Use `get_bin_path` properly for supervisorctl module
12 years ago
Daniel Hokka Zakrisson a5d63532d3 Add backup to assemble 12 years ago
Daniel Hokka Zakrisson 2a8b92954f Add backups to lineinfile 12 years ago
Daniel Hokka Zakrisson dfcb9d3c2d Move backup to module_common 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
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 8f220a4f77 Always pipe stderr in the setup module to avoid JSON interference. 12 years ago
Matt Wright d52f1d969b Use `get_bin_path` properly 12 years ago
Matt Wright a092eadbbb Fix supervisorctl module after merge issue 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 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 bdb39058ae Migrate apt_repository, group, and supervisorctl to use module.get_bin_path 12 years ago
Daniel Hokka Zakrisson ed8e31d618 Add a lineinfile module 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
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
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
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
Tim Bielawa 98d3e2bfc8 Nagios is executable now 12 years ago
Tim Bielawa 8b8aaa7f76 Fix copying that special character 12 years ago
Tim Bielawa da2665bcd2 In-line docs. 12 years ago
Tim Bielawa 9829033a8a Now reading from a config file actually works. 12 years ago
Tim Bielawa 62ffeb93a5 Services iterate correctly now
Cleaned up return methods
12 years ago
Tim Bielawa 5d41fffa00 Groundwork for nagios module. 12 years ago
Florian Diebold 886fed5ae7 Remove ternary operator to fix python 2.4 compatibility. 12 years ago
Florian Diebold af17bab373 Support systemd in the service module.
Most of it worked already, except for the enable parameter, because it
tried to use chkconfig which only sees SysV services. First look for
systemctl and use that if it exists.
12 years ago
Michael DeHaan 4816644b22 Merge pull request #937 from jhoekx/wait-state
Add a state parameter to the wait_for module.
12 years ago
Michael DeHaan 165f4b514d Merge pull request #938 from skvidal/devel
fix up local_nvra and fix for a missing localinstall rpm file.
12 years ago
Maxim Burgerhout 3d44de284a Add working CPU model fact for some ARM devices
Works on Sheevaplug, probably works on Rasberry Pi as well
12 years ago
Jeroen Hoekx 81c9a0cb78 wait_for: remove restarted, add delay, rename name to host, make port required. 12 years ago
Jeroen Hoekx 18d5c875d0 Change wait_for return message to be machine readable. 12 years ago
Seth Vidal 5dbc85e8ad fix up local_nvra 12 years ago
Jeroen Hoekx 5ba34572d9 Add a state parameter to the wait_for module.
This takes started, stopped and restarted.

Started returns when connecting is possible.
Stopped when connecting is not possible.
Restarted first waits for connecting to be impossible and returns when it is
possible again.
12 years ago
Michael DeHaan 150a47c66c Merge pull request #922 from dsummersl/subversion
Subversion
12 years ago
Michael DeHaan b3b607ff5e Merge pull request #931 from elventear/postgresql_db
Allow change of ownership and checks for existing database
12 years ago
Michael DeHaan 7341ed241e Merge pull request #924 from elventear/postgresql_user
Change semantics of postgresql_user module
12 years ago
Jeroen Hoekx 8660fb074a Add the wait_for module.
This module waits until a specific port on a given host can be connected to.
12 years ago