1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

4605 commits

Author SHA1 Message Date
Junegunn Choi
20a48c6bdf terminate immediately on a failure 2013-03-28 15:17:01 +09:00
Brian Coca
82c3b4e685 now ssh connection plugin will only pass user as an option to ssh if it is
differnt from the current user. This should enable overrides for user in
.ssh/config w/o breaking any current functionality.

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-27 16:41:54 -04:00
raphinou
ba2582fff6 replaced && by ||
In the example, you want /bin/true to be executed if the first command has an error return code. Combining command with && will run the second only if the first is successful. Combining them with ||, the second will be run only of the first fails, what is wanted here.
2013-03-27 14:37:31 +01:00
Tim Gerla
d3a7c729ab Add a note regarding rsync and ssh-agent/passphrase-less keys 2013-03-26 19:37:06 -07:00
Michael DeHaan
4552fa8592 Merge pull request #2511 from bcoca/user_checkmode_fix
user module check mode bug fix
2013-03-26 19:31:02 -07:00
Brian Coca
5ad3c0603d now check moded returnes 'changed' instead of failure when there are
modifications needed.
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-03-26 22:04:04 -04:00
tin
ca581840ef Added additional lineinfile documentation.
A little more unit testing.
2013-03-27 01:31:58 +01:00
tin
f9b70822d2 Fixed to the lineinfile module.
Added the backrefs parameter to the lineinfile module.
Added tests for the backrefs functionality of the lineinfile module.
2013-03-27 01:31:58 +01:00
Michael DeHaan
868af1a892 Merge pull request #2505 from johanwiren/obsdpkg_docs
Fixed webdocs rendering error
2013-03-26 16:31:38 -07:00
Tim Gerla
0e01085ab6 Add some examples for local_action and rsync 2013-03-26 13:34:16 -07:00
Alberto Gonzalez Iniesta
40451b8f68 Install example config file under /etc/ansible 2013-03-26 20:25:03 +01:00
Johan Wirén
550cf2979e Fixed webdocs rendering error 2013-03-26 18:22:15 +01:00
Greg Swift
34a38a74b1 Extend authorized_keys module for use with alternate AuthorizedKeysFile configurations 2013-03-26 10:12:09 -05:00
Michael DeHaan
9c5028eb8b Merge pull request #2501 from sergevanginderachter/devel
gitignore and clean up authors file to  since it was removed from version control
2013-03-26 05:53:28 -07:00
Michael DeHaan
7d08ad5e82 Merge pull request #2502 from b6d/gem-module-fix
"gem"-module: replace python 2.5 language feature
2013-03-26 05:53:05 -07:00
Bernhard Weitzhofer
fd6b4c2257 "gem"-module: replace python 2.5 language feature
replace conditional expression with python 2.4-compatible if/else
statements
2013-03-26 11:45:47 +01:00
Serge van Ginderachter
ec6236a107 add clean up authors file to make clean 2013-03-26 08:19:45 +01:00
Serge van Ginderachter
0aba811cf2 add authors file to gitignore since it was removed from version control 2013-03-26 08:14:07 +01:00
Michael DeHaan
b066e9c15c Remove authors file from version control (can still be built from 'make authors') 2013-03-25 23:36:53 -04:00
Michael DeHaan
42b0e51223 Upgrade callbacks further, now '.play', '.task', and so on are also available! 2013-03-25 22:56:32 -04:00
Michael DeHaan
5b845510b3 Update changelog 2013-03-25 22:48:12 -04:00
Michael DeHaan
0d11f53eff Let the callbacks see the playbook and (current) runner objects. 2013-03-25 22:47:06 -04:00
Michael DeHaan
b0a64973b6 update changelog 2013-03-25 22:40:47 -04:00
Michael DeHaan
2d8078140d Merge branch 'test_basedir' into devel 2013-03-25 22:32:45 -04:00
Michael DeHaan
84b641c96d Add state to rhn_channel docs 2013-03-25 22:32:34 -04:00
Michael DeHaan
783a12cc0e Resolve merge commit. 2013-03-25 22:32:01 -04:00
Michael DeHaan
6f2a0c60f7 Merge branch 'ansible_inventory_basedir' of git://github.com/stoned/ansible into test_basedir
Conflicts:
	lib/ansible/runner/__init__.py
2013-03-25 22:30:06 -04:00
Michael DeHaan
28570f922e Merge pull request #2498 from jcftang/devel
Fix reinplace in macports package to work on both 10.7 and 10.8
2013-03-25 19:26:19 -07:00
Michael DeHaan
774bf8abe6 Add state to rhn_channel docs 2013-03-25 22:24:30 -04:00
Michael DeHaan
3c5890f42b Ensure that when transferring a file to a directory the name of the file is the correct basename and not 'source'. 2013-03-25 22:19:35 -04:00
Michael DeHaan
7044e53e07 Allow conditionals on BYPASS_HOST_LOOP plugins like add_host 2013-03-25 21:16:18 -04:00
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.
2013-03-25 17:08:40 +00:00
Michael DeHaan
cd0dd2a6ad Merge pull request #2496 from lorin/mycnf-quotes
Strip quotes when parsing my.cnf
2013-03-25 08:15:58 -07:00
Michael DeHaan
fee201428f Fix RHN module YAML docs formatting 2013-03-25 11:03:38 -04:00
Michael DeHaan
861bee3e36 Quoting 2013-03-25 10:56:57 -04:00
Michael DeHaan
518007a1ba Fix version added attribute, update docs URL 2013-03-25 10:56:32 -04:00
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
2013-03-25 09:53:04 -04:00
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)
2013-03-25 12:34:59 +01:00
Michael DeHaan
9be44c201a Merge pull request #2455 from robparrott/debuggin-help
inject a dictionary of avaiable variables and the environment into executor
2013-03-24 14:49:37 -07:00
Michael DeHaan
fe2f506514 Merge pull request #2462 from sfromm/issue2461
Make logging to journal match what goes to syslog on non-systemd hosts
2013-03-24 14:46:10 -07:00
Michael DeHaan
7f4718bca4 Merge pull request #2490 from szinck/devel
Added SunOS (Solaris, illumos, etc) service management
2013-03-24 14:45:07 -07:00
Michael DeHaan
4f4ee3693f Merge pull request #2440 from jochu/service-chkconfig-add
attempt to add service to chkconfig when suggested
2013-03-24 14:33:17 -07:00
Michael DeHaan
97d2c955a8 Merge pull request #2437 from hspencer77/additional-ec2-instance-attribute-support
Added additional filter options for instances for EC2 and Eucalyptus
2013-03-24 14:31:50 -07:00
Michael DeHaan
3d5aa5dc2c Merge pull request #2487 from dorfsmay/20130322
fixed doc regarding wild card pattern on groups.
2013-03-24 14:26:07 -07:00
Michael DeHaan
c163f5af9e Minor consistency tweak, pwd => password 2013-03-24 16:43:03 -04:00
michael@ansibleworks.com
ecda87cb63 Fixup docsite links 2013-03-24 16:41:20 -04:00
michael@ansibleworks.com
e086d6fd89 Doc updates 2013-03-24 16:41:20 -04:00
Michael DeHaan
b68f81a727 Merge pull request #2489 from vincentvdk/devel
rhn_channel module
2013-03-24 13:36:02 -07:00
Michael DeHaan
b5f3881e01 Merge pull request #2491 from tones111/to-upstream
Support systemd template service unit files
2013-03-24 13:35:36 -07:00
Shaun Zinck
8a6ef8c69a service: fix typo 'err' in SunOS service class 2013-03-24 13:47:56 -05:00