Commit Graph

2445 Commits (fa0ab58a7e00dfbce9f4e43609b99022fc45a9b2)
 

Author SHA1 Message Date
James Cammarata c48fc23d75 Use low-level package objects in the apt module to check installed state
Packages which are half-installed are not adequately represented by
the .is_installed field of the apt.package.Package object. By using the
lower-level apt_pkg.Package object (which provides the .current_state
field), we can check for a partially-installed state more accurately.

Fixes #3421
11 years ago
James Cammarata ff3ffd21b4 Merge branch 'fix_changed_for_yum_group' of https://github.com/hnakamur/ansible into hnakamur-fix_changed_for_yum_group 11 years ago
James Cammarata 0449470f21 Allow service module to manage services not ending in .service
Fixes #3417
11 years ago
James Cammarata 3e7511609e Slight refactorization of the sysctl module
* Added in support for freebsd-style sysctl commands
* Replaced some functionality that was provided by module_common
* Simplified some logic in a couple of places (ie, not checking
  a split with len() but instead limiting the split to 1)

Fixes #3380
11 years ago
James Cammarata 8d6e302cf8 Compare exploded values in the sysctl module to avoid whitespace errors
Fixes #3931
11 years ago
James Cammarata 5fe192e5e7 Fixes to the service module for Ubuntu 12.04 (LTS)
Fixes #3615
Fixes #3572
11 years ago
James Cammarata 5e8918cb2c Check for systemd ownership of a service even if an init.d script exists
Also slight modification to the error message in the earlier commit that
modified the update-rc.d detection portion of the code

Fixes #3474
11 years ago
Hiroaki Nakamura 868620f7d0 Add an example for installing a group with the yum module. 11 years ago
Hiroaki Nakamura 80d68320f7 Fix to getchanged correctly for yum groupinstall. 11 years ago
James Cammarata ef02c6107a Minor fix to account for template service names in systemctl 11 years ago
James Cammarata f22ffab259 Fix for update-rc.d based systems that also have systemd installed
By default, the service module had assumed that if the system had the
update-rc.d binary, the service was either managed via upstart or standard
sysV init-style scripts. This patch adds a check for systemctl ahead
of the other methods when update-rc.d is detected, and also simplifies
the logic around the detection of systemctl-managed services
11 years ago
Yap Sok Ann 6ca45d1964 Locate easy_install path after (optionally) creating virtualenv.
Without this, the first call to the easy_install module with a new virtualenv
will only create the virtualenv without installing the intended package, since
the `_is_package_installed` check will succeed as running /usr/bin/easy_install
as non-root user will return permission denied error with empty stdout.
11 years ago
James Cammarata 5a86b82cec Fixing typos in is_keyid function definition and usage
Fixes #4068
11 years ago
Charles Blonde 637e4216ac Add support to Boto library < 2.5.0 11 years ago
James Cammarata ab21123a5c Revert "Styling: deprecation"
This reverts commit ecc2b6e742.

Fixes #4069
11 years ago
James Cammarata 0a63bcd616 Merge branch 'file_fixes' of https://github.com/bcoca/ansible into bcoca-file_fixes 11 years ago
Adam Miller 36531cf394 added try/catch around .connected call 11 years ago
Charles Blonde 402320dd26 Fix wait_for default value to follow the documentation (documentation = 180, default value = 120) 11 years ago
Charles Blonde ec3b67c7ec Fix wait_for conversion between String to int 11 years ago
James Laska 5dc830c279 The required package for selinux is libselinux-python 11 years ago
James Cammarata e62844653c Merge branch 'devel' of https://github.com/abompard/ansible into abompard-devel 11 years ago
James Cammarata d93edadbbb Merge branch 'fix_postgresql_db' of https://github.com/yteraoka/ansible into yteraoka-fix_postgresql_db 11 years ago
James Cammarata 51fedb64a9 Cleaning up pep8 whitepsace issues in the mysql_replication module 11 years ago
James Cammarata 07c825d8f5 Merge branch 'bugfix' of https://github.com/jsmartin/ansible into jsmartin-bugfix 11 years ago
James Martin 6539652a28 Fixes for python 2.4 support, better collection of riak version. 11 years ago
James Cammarata d16ba9758e Added version_added to the mysql_variables module doc section 11 years ago
James Cammarata 3fe2549363 Merge branch 'mysql_variables' of https://github.com/banyek/ansible into banyek-mysql_variables 11 years ago
James Cammarata 8dd3339d3a Added version_added to the mysql_replication module doc section 11 years ago
James Cammarata c5be708dd5 Merge branch 'mysql_replication' of https://github.com/banyek/ansible into banyek-mysql_replication 11 years ago
James Cammarata 0eaae4ac9c Cleaning up whitspace issues in the mysql_user module 11 years ago
John Hamelink 266255640e Fixed #3767 - mysql_user command fails with dots (and underscores) in
database names.
11 years ago
Brian Coca 849d7b282b Added collection of user's env
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Cammarata bb5e4f0673 Merge pull request #3966 from sergevanginderachter/uribug
Fix bug in uri where redirect check fails.
11 years ago
James Cammarata 21ae255fb3 Merge branch 'aix_wpar_facts' of https://github.com/mplonka/ansible into mplonka-aix_wpar_facts 11 years ago
James Cammarata 21ad089361 Merge branch 'rdsfixes' of https://github.com/jamespharaoh/ansible into jamespharaoh-rdsfixes 11 years ago
James Cammarata 1c1c103d93 Corrected example for lineinfile due to ': ' on line
Closes #3992
11 years ago
Aurélien Bompard e4cfa251e2 Module postgresql_privs: fix default arguments
Defaults arguments must not be added to the connection keywords, as
the other postgresql modules already do.

Closes #4043
11 years ago
James Cammarata 156ab85478 Check for an empty executable passed into the accelerate plugin
This was breaking at least the script module, so it would seem best
to check for it and set it to the default executable value
11 years ago
James Cammarata a05eec87b2 When putting a file in accelerated mode, make sure it's chowned correctly 11 years ago
Tom Dymond b3646176a9 Add option to specify the MySQL server port 11 years ago
Jell 070af1179e Add crypt scheme to htpasswd params 11 years ago
TERAOKA Yoshinori b8a26eda0b fix get_db_info
using pg_roles instead of pg_user
if database owner is a role (not user) then it can not select form pg_user table.
11 years ago
James Cammarata 7db7be192b Modified ec2_elb doc per issue #3849 11 years ago
James Cammarata 76faa937a1 Merge branch 'devel' of https://github.com/mhite/ansible into mhite-devel 11 years ago
James Cammarata 0a27ded6f3 Adding the facility to the accelerate daemon syslog calls 11 years ago
James Cammarata 17f683aad7 Added 'reloaded' state to list of states checked for bounced services
Fixes #3556
11 years ago
Serge van Ginderachter 129fa6689f Introduce open-iscsi module to manage targets on the initiator. 11 years ago
James Cammarata 1b5ec0e224 Merge branch 'devel' into fireball2
Conflicts:
	lib/ansible/playbook/__init__.py
	lib/ansible/playbook/play.py
11 years ago
Marcus McCurdy 249dc38527 Makes pervious lineinfile fix more explicit 11 years ago
James Pharaoh b9c602ea83 make rds handle vpc security groups properly 11 years ago