Commit Graph

512 Commits (c04f00e3a67906b4867e9e4c7e934d861fa0a43e)

Author SHA1 Message Date
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
Dane Summers 71cff25254 added force option to git - made both subversion and git default to force=true for backward compatibility with git's previous behavior 12 years ago
Dane Summers 6dd6a4c534 tested library - fixed several test cases, added 'force' option, and removed grep requirement 12 years ago
Pepe Barbe fdaf65282b bugfix in sql query 12 years ago
Pepe Barbe fdbc99dc28 Check for database ownership 12 years ago
Pepe Barbe 6d473df324 Typo 12 years ago
Pepe Barbe af5d67c496 Query for all active privileges instead
Use a different method to query for current 
privileges at the table and database level. 
This method is more robust if newer privileges 
are added in future versions and also supports the 
ALL wildcard.
12 years ago
Pepe Barbe 95169b75c4 Add fail_on_user option
fail_on_user option can be used to ignore silently
if the user cannot be removed because of remaining
privilege dependencies to other objects in the 
database. By default it will fail, so that this new 
behavior won't surprise unsuspecting users.
12 years ago
Pepe Barbe 4e833cf506 Initial commit of change of semantics for module
The postgresql_user module has several drawbacks:
* No granularity for privileges
* PostgreSQL semantics force working on one
  database at time, at least for Tables. Which
  means that a single call can't remove all the 
  privileges for a user, and a user can't be
  removed until all the privileges are removed, 
  forcing a module failure with no way to 
  work around the issue.

Changes:
* Added the ability to specify granular privileges
  for database and tables within the database
* Report if user was removed, and add an option to 
  disable failing if user is not removed.
12 years ago
Dane Summers 24c8c22e75 removed logger, removed superfluous mkdir 12 years ago
Dane Summers 157fa3868a added TODO for test scenarios to add 12 years ago