Commit Graph

2378 Commits (da0d50c383ff915e522ca564d4a4a9420b371c9f)

Author SHA1 Message Date
Rene Moser 9449d62fb2 apt: fixed duplicate fail_json 11 years ago
Shuhao Wu 0d2a3f1b0c Fixed monit restarted error.
Errors everytime...
11 years ago
James Cammarata f4c5f37ca6 Merge branch 'issue_3417_systemd_stuff' into devel 11 years ago
James Cammarata 02033f9ec8 Merge branch 'archlinux-fact' of https://github.com/Schnouki/ansible into Schnouki-archlinux-fact 11 years ago
James Cammarata c6fdb85d88 Merge branch 'issue_3421_apt_pkg_iU' into devel 11 years ago
James Cammarata cee2bddc24 Updated version_added string for the new validate_md5 option 11 years ago
James Cammarata d9cf1dfefb Merge branch 'fetch' of https://github.com/bpennypacker/ansible into bpennypacker-fetch 11 years ago
Michael DeHaan f93ef96a08 Merge pull request #4115 from r-p-e/devel
Add some more OpenBSD facts
11 years ago
Michael DeHaan 00c0770f1b Merge pull request #4075 from sayap/easy_install
Locate easy_install path after (optionally) creating virtualenv.
11 years ago
r-p-e 2f887c6dca Add some more OpenBSD facts
added:
 * ansible_distribution
 * ansible_distribution_release
 * ansible_distribution_version
11 years ago
Ingo Gottwald f7adbf2f29 Bugfix service module: Only change service state when needed 11 years ago
Lorin Hochstein 264d83731a AWS elastic IP: Support for allocating IPs
This commit adds support for allocating new elastic IPs with the
ec2_eip module.
11 years ago
Charles Blonde 00ec91bb36 Update instance_profile_name message 11 years ago
Thomas Jost dfb10e646e Add Archlinux "distribution" fact 11 years ago
James Cammarata 0d408ff295 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 d2bf244eb8 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 72eaa0570e Allow service module to manage services not ending in .service
Fixes #3417
11 years ago
James Cammarata 5110b2d440 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 3e9b63febd Compare exploded values in the sysctl module to avoid whitespace errors
Fixes #3931
11 years ago
James Cammarata b2741f451e Fixes to the service module for Ubuntu 12.04 (LTS)
Fixes #3615
Fixes #3572
11 years ago
James Cammarata 9a3a3e648b 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 4d2c2a262a Add an example for installing a group with the yum module. 11 years ago
Hiroaki Nakamura caa68746ae Fix to getchanged correctly for yum groupinstall. 11 years ago
James Cammarata 7c8aa669cf Minor fix to account for template service names in systemctl 11 years ago
James Cammarata 6c3af4df81 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 498c2665de 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 808d9596b2 Fixing typos in is_keyid function definition and usage
Fixes #4068
11 years ago
Charles Blonde ac4e16a99b Add support to Boto library < 2.5.0 11 years ago
James Cammarata b3c0e3e45e Revert "Styling: deprecation"
This reverts commit ecc2b6e742.

Fixes #4069
11 years ago
James Cammarata af139cd56a Merge branch 'file_fixes' of https://github.com/bcoca/ansible into bcoca-file_fixes 11 years ago
Adam Miller 4220c3cc30 added try/catch around .connected call 11 years ago
Charles Blonde 02171711fa Fix wait_for default value to follow the documentation (documentation = 180, default value = 120) 11 years ago
Charles Blonde 9a993992be Fix wait_for conversion between String to int 11 years ago
James Laska 546788a1b6 The required package for selinux is libselinux-python 11 years ago
James Cammarata 7752a56091 Merge branch 'devel' of https://github.com/abompard/ansible into abompard-devel 11 years ago
James Cammarata 71bf9495ef Merge branch 'fix_postgresql_db' of https://github.com/yteraoka/ansible into yteraoka-fix_postgresql_db 11 years ago
James Cammarata b65cefe893 Cleaning up pep8 whitepsace issues in the mysql_replication module 11 years ago
James Cammarata 03e124d91f Merge branch 'bugfix' of https://github.com/jsmartin/ansible into jsmartin-bugfix 11 years ago
James Martin 8c1ed028d3 Fixes for python 2.4 support, better collection of riak version. 11 years ago
James Cammarata 3adb91a4b4 Added version_added to the mysql_variables module doc section 11 years ago
James Cammarata a57ced4b66 Merge branch 'mysql_variables' of https://github.com/banyek/ansible into banyek-mysql_variables 11 years ago
James Cammarata a56c695bc8 Added version_added to the mysql_replication module doc section 11 years ago
James Cammarata ff19cdae39 Merge branch 'mysql_replication' of https://github.com/banyek/ansible into banyek-mysql_replication 11 years ago
James Cammarata 441062f061 Cleaning up whitspace issues in the mysql_user module 11 years ago
John Hamelink 892c594319 Fixed #3767 - mysql_user command fails with dots (and underscores) in
database names.
11 years ago
Brian Coca c2d1607490 Added collection of user's env
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
James Cammarata aa0a31c0fc Merge pull request #3966 from sergevanginderachter/uribug
Fix bug in uri where redirect check fails.
11 years ago
James Cammarata 82e1722fff Merge branch 'aix_wpar_facts' of https://github.com/mplonka/ansible into mplonka-aix_wpar_facts 11 years ago
James Cammarata 84c977258f Merge branch 'rdsfixes' of https://github.com/jamespharaoh/ansible into jamespharaoh-rdsfixes 11 years ago
James Cammarata 4a30bac78b Corrected example for lineinfile due to ': ' on line
Closes #3992
11 years ago
Aurélien Bompard 5a949dcafc 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 20b0dc4abd 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 f04af9118e When putting a file in accelerated mode, make sure it's chowned correctly 11 years ago
Tom Dymond 11c2378259 Add option to specify the MySQL server port 11 years ago
TERAOKA Yoshinori 43464b6243 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 d27372ff08 Modified ec2_elb doc per issue #3849 11 years ago
James Cammarata 4eedfa46a2 Merge branch 'devel' of https://github.com/mhite/ansible into mhite-devel 11 years ago
James Cammarata 8a016bb374 Adding the facility to the accelerate daemon syslog calls 11 years ago
James Cammarata 26a8d4ce9f Added 'reloaded' state to list of states checked for bounced services
Fixes #3556
11 years ago
James Cammarata d05c61d1f0 Merge branch 'devel' into fireball2
Conflicts:
	lib/ansible/playbook/__init__.py
	lib/ansible/playbook/play.py
11 years ago
James Pharaoh 137a32ca36 make rds handle vpc security groups properly 11 years ago
James Pharaoh dc5ffb688c fix for rds region variable 11 years ago
James Cammarata d69d5c294f Renaming fireball2 as 'accelerate' and removing old references 11 years ago
Serge van Ginderachter a311ee35b3 Fix bug in uri where redirect check fails.
When the redirect check fails, the 'status' key is not set in
resp_redir, so we need to check this.
11 years ago
Michael DeHaan 39fe40bb60 Merge pull request #3953 from melodous/issue-3908
Fix issue 3908. There was some ilegal operations over the sets
11 years ago
Michael DeHaan 1772b1b203 Merge pull request #3963 from djoreilly/quantum-net-doc
quantum_network: fix some doc mistakes
11 years ago
Darragh O'Reilly 993413e706 quantum_network: fix some doc mistakes
- tenant_name was missing.
- comments were on wrong tasks.
- error message had a reference to glance.
11 years ago
James Cammarata af1dd7075f Adding chunked file transfers to fireball2 11 years ago
James Cammarata 959138d00d Added accelerate_port to plays, and made it configurable 11 years ago
James Cammarata b45342923c Initial support for sudoable commands over fireball2
Caveats:
* requiretty must be disabled in the sudoers config
* asking for a password doesn't work yet, so any sudoers users must
  be configured with NOPASSWD
* if not starting the daemon as root, the user running the daemon
  must have sudoers entries to allow them to run the command as the
  target sudo_user
11 years ago
James Cammarata 4b552457e7 Bail out correctly if socket.recv gets nothing (indicating a closed socket) 11 years ago
James Cammarata 521e14a3ad Fireball2 mode working! 11 years ago
Bruce Pennypacker cf6a76c814 changed ignore_md5_mismatch to validate_md5 11 years ago
Bruce Pennypacker 41c474d129 added optional ignore_md5_mismatch parameter 11 years ago
Jharrod LaFon be57d7cc99 The cloudformation module argument spec should match the documentation, so that template_parameters is a required argument. 11 years ago
Raul Melo 461858e476 Fix issue 3908. There was some ilegal operations over the sets 11 years ago
Michael DeHaan 8ec806905d Merge pull request #3942 from jocelynj/gem
Correctly handle option user_install in gem module
11 years ago
Michael DeHaan 4ca5db0a57 Merge pull request #3861 from djoreilly/quantum_net_types
quantum_network should not default network provider type to local
11 years ago
James Cammarata a8984a6b2b Minor text corrections in the yum module documentation 11 years ago
James Cammarata 7625f40f99 Merge pull request #3941 from hnakamur/update_yum_doc_for_name_accepts_url_and_path
Add description and examples for the name parameter accepts a url or a l...
11 years ago
James Cammarata ceddc37f07 Fix for the cron module on FreeBSD
Apparently crontab on freebsd does not like the file path coming before
the "-u username" portion of the command to install the crontab
11 years ago
Jocelyn Jaubert f958a5ac81 Correctly handle option user_install in gem module 11 years ago
Hiroaki Nakamura aa9e05baa2 Add description and examples for the name parameter accepts a url or a local path to a rpm file. 11 years ago
Marcin Płonka 61298e4703 Skipping facts not available on AIX WPARs 11 years ago
James Cammarata 2f6dcfe36f Fixed small typo from the merge conflict in the route53 module 11 years ago
James Cammarata 7d69d1e289 Merge branch 'rb2' of https://github.com/bpennypacker/ansible into bpennypacker-rb2 11 years ago
Bruce Pennypacker 80ddb1aee6 Added wait parameter 11 years ago
James Cammarata bb75050912 Merge branch 'rb2' of https://github.com/bpennypacker/ansible into bpennypacker-rb2
Conflicts:
	library/cloud/route53
11 years ago
James Cammarata 1d98e7bc05 Cleaning up some pep8 issues in the pkgutil module 11 years ago
James Cammarata dfbe1132d2 Merge branch 'allow_wildcard_yum' of https://github.com/mscherer/ansible into mscherer-allow_wildcard_yum 11 years ago
James Cammarata 7bd8c18fa7 Merge branch 'gitfix' of https://github.com/johanwiren/ansible into johanwiren-gitfix 11 years ago
Johan Wirén dcd556b92f Fixed so that we no longer check with the remote if a checkout already is at the desired sha version. 11 years ago
James Cammarata 12f2caeed6 Merge branch 'pacman_local_plus_check' of https://github.com/mivok/ansible into mivok-pacman_support_check_mode 11 years ago
James Cammarata de4ed11fa6 Merge branch 'pacman_support_check_mode' of https://github.com/mivok/ansible into mivok-pacman_support_check_mode 11 years ago
Arthur Taylor 1dd3ff3879 Added Overwrite option for Route53 record creation 11 years ago
James Cammarata abac720255 Merge branch 'command-relpath' of https://github.com/j2sol/ansible into j2sol-command-relpath 11 years ago
Joshua Lund 654b37f212 Fixing typo in EC2 modules 11 years ago
Jesse Keating 36ca709849 Allow for relative paths by using abspath
relative pathing comes in handy on occasion, particularly when
delegating to localhost and running some command out of your playbook
repo. Making use of os.path.abspath will allow for the full path to
chdir and executable to be discovered if not provided.
11 years ago
James Cammarata ae98a025bb Minor doc fixes for the pkgutil module 11 years ago
Alexander Winkler 59c7ef2afa Added module pkgutil 11 years ago