Commit Graph

4774 Commits (b1d40ed06428c53f3874a1317864c961a8983add)
 

Author SHA1 Message Date
Jimmy Tang 2dce6089c4 Fix reinplace in macports package to work on both 10.7 and 10.8
reinplace on OSX 10.8 seems to behave differently, this change has been tested
on a few 10.8 and 10.7 machines.
12 years ago
Michael DeHaan cd0dd2a6ad Merge pull request #2496 from lorin/mycnf-quotes
Strip quotes when parsing my.cnf
12 years ago
Michael DeHaan fee201428f Fix RHN module YAML docs formatting 12 years ago
Michael DeHaan 861bee3e36 Quoting 12 years ago
Michael DeHaan 518007a1ba Fix version added attribute, update docs URL 12 years ago
Lorin Hochstein c9990b801e Strip quotes when parsing my.cnf
Remove leading/trailing single or double quotes when parsing the my.cnf
file in mysql_user and mysql_db.

Do this so that these modules parse the my.cnf file the same way that
the mysql client does.

From: http://dev.mysql.com/doc/refman/5.0/en/option-files.html

    You can optionally enclose the value within single quotation marks
    or double quotation marks, which is useful if the value contains a
    “#” comment character.

Fixes #2405
12 years ago
Bernhard Weitzhofer b7f3d6ac92 postgresql_db: add args lc_collate, lc_ctype
Allow the specification of additional locale settings (lc_collate and lc_ctype) when creating a new database (state=present).

Fail if the specified database already exists with different locale/encoding settings. (These settings can't be changed for existing databases as far as I know, and failing seems better than suggesting that no change was necessary by returning changed=False)
12 years ago
Michael DeHaan 9be44c201a Merge pull request #2455 from robparrott/debuggin-help
inject a dictionary of avaiable variables and the environment into executor
12 years ago
Michael DeHaan fe2f506514 Merge pull request #2462 from sfromm/issue2461
Make logging to journal match what goes to syslog on non-systemd hosts
12 years ago
Michael DeHaan 7f4718bca4 Merge pull request #2490 from szinck/devel
Added SunOS (Solaris, illumos, etc) service management
12 years ago
Michael DeHaan 4f4ee3693f Merge pull request #2440 from jochu/service-chkconfig-add
attempt to add service to chkconfig when suggested
12 years ago
Michael DeHaan 97d2c955a8 Merge pull request #2437 from hspencer77/additional-ec2-instance-attribute-support
Added additional filter options for instances for EC2 and Eucalyptus
12 years ago
Michael DeHaan 3d5aa5dc2c Merge pull request #2487 from dorfsmay/20130322
fixed doc regarding wild card pattern on groups.
12 years ago
Michael DeHaan c163f5af9e Minor consistency tweak, pwd => password 12 years ago
michael@ansibleworks.com ecda87cb63 Fixup docsite links 12 years ago
michael@ansibleworks.com e086d6fd89 Doc updates 12 years ago
Michael DeHaan b68f81a727 Merge pull request #2489 from vincentvdk/devel
rhn_channel module
12 years ago
Michael DeHaan b5f3881e01 Merge pull request #2491 from tones111/to-upstream
Support systemd template service unit files
12 years ago
Shaun Zinck 8a6ef8c69a service: fix typo 'err' in SunOS service class 12 years ago
Vincent Van der Kussen 81a113ad6b Removed false info 12 years ago
Vincent Van der Kussen 255f2b868f Removed info about hard coded user/pwd in the documentation part 12 years ago
Paul Sbarra b545b4c5fc service: add systemd template support 12 years ago
Paul Sbarra 4cfda2a965 service: fix systemd compilation error with --check 12 years ago
Vincent Van der Kussen 98406462d1 Made user and password options that can be passed to the module 12 years ago
Shaun Zinck 60bfd38820 Added SunOS (Solaris, illumos, etc) service management using svcadm and svcs commands 12 years ago
Vincent Van der Kussen 38c41b6f9e renamed module 12 years ago
Vincent Van der Kussen 3a626032ae added rhn_channel module 12 years ago
Vincent Van der Kussen 1388bb7859 Added module rhn_channel 12 years ago
Yves Dorfsman 5485451ddb fix doc regarding wild card pattern on groups. 12 years ago
Michael DeHaan 934029842e Merge pull request #2485 from jochu/bug-postgresql-quotes
Add quotes around postgresql database name
12 years ago
Jeffrey Chu 18b6091da1 Add quotes around postgresql database name 12 years ago
Michael DeHaan bff581be4c Merge pull request #2482 from bladypirat/devel
disabled appending file with garbage when regexp didn't match.
12 years ago
Piotr Kweclich 2e4c02f93e disabled appending file with garbage when regexp didn't match. 12 years ago
Michael DeHaan 50461a686c Merge pull request #2481 from stoned/misc-comments-fix
Fix pathnames in comments
12 years ago
Stoned Elipot 86995d7786 Fix pathnames in comments 12 years ago
Michael DeHaan b70c26dc45 Merge pull request #2466 from sfromm/issue2449
Limit scope of arguments to service_control() in service module
12 years ago
Michael DeHaan 5c1b436923 Merge pull request #2451 from lwade/pythoninterpreter
Changed python interpreter to be consistent in these modules as compared...
12 years ago
Michael DeHaan cef817c3b4 Merge pull request #2458 from CodeBlock/devel
Fix broken virtualenv link in pip documentation.
12 years ago
Michael DeHaan fce18d50ed Merge pull request #2468 from tgerla/devel
Add links to the ansible-examples repository in docs
12 years ago
Michael DeHaan 8d85b27ac9 Merge pull request #2472 from sfromm/issue2471
Fixes for get_remote_head in git module
12 years ago
Stephen Fromm b694b9a66e Fixes for get_remote_head in git module
See issue #2471

This fixes get_remote_head() to be smarter about how to check remote
head.  It checks if it is a remote branch or tag and then checks for the
remote object id associated with it.  If it is sha1, get_remote_head()
returns it as-is since there doesn't appear to be a way to check a
remote repository for a specific object/sha1.  is_remote_tag() is added
to help out the new functionalit in get_remote_head().

In main(), if check_mode is true and version is a sha1, the module now
checks to see if the object is present.
12 years ago
Tim Gerla 242f988daf Add links to the ansible-examples repository 12 years ago
Stephen Fromm 5194a71a70 Limit scope of arguments to service_control() in service module
This fixes handling of arguments (module argument) in service_control().
It is now locally scoped such that modifications to it, in the case of a
systemd host, do not later impact subsequent calls to service_control().
See issue #2449.

Without patch:
ansible-service[6177]: Command /usr/bin/systemctl stop cups cups , daemonize True

With patch:
ansible-service[6475]: Command /usr/bin/systemctl start cups , daemonize True

I also updated the comments to reflect the case where systemd is really
being called.
12 years ago
Stoned Elipot abe126fbd8 Define, when possible, the inventory_dir variable 12 years ago
Stephen Fromm cdb7f8ecf0 Make logging to journal match what goes to syslog on non-systemd hosts
This makes the log message the same, whether it is sent to systemd's
journal or to syslog.  It retains the extra fields that are passed to
journal, such as MOUDLE=<name> and additional arguments.  Since journal
will reflect messages to syslog, this keeps what goes to syslog
informative instead of the terse 'Ansible module invoked'.

See issue #2461.
12 years ago
Ricky Elrod 9af40aa99a Fix broken virtualenv link in pip documentation. 12 years ago
Michael DeHaan 92997ec789 Merge pull request #2457 from robparrott/add_host-inventory-group-fix
invalidate group cache when adding a new group
12 years ago
Rob Parrott 149f1f9f3c invalidate group cache so that a group added by the add_host module will be relfected in the groups variable in later plays. 12 years ago
Rob Parrott 81e2d871aa inject a dictionary of avaiable variables and the environment into the executor, so that templates can be used to debug playbooks by dumping more of the available context. 12 years ago
lwade 9dda148679 Changed python interpreter to be consistent in these modules as compared to all others. 12 years ago