Michael DeHaan
ae351b71b6
Merge pull request #1414 from sfromm/issue1412
...
Help git module work when working in 'no branch' scenario
2012-10-22 16:42:05 -07:00
Stephen Fromm
769bd9125a
Help git module work when working in 'no branch' scenario
...
Detect when on a 'no branch' branch. If so, checkout the HEAD branch
as reported by 'git remote show <remote>'. That should put the repo
back on a branch such that git can then merge changes as necessary.
In addition, removed hard-coded references to origin and replaced
with remote var.
2012-10-22 16:03:35 -07:00
Michael DeHaan
109632e3bc
Revert "Vars specified via CLI have the highest priority."
...
Reverting as this as reported allows some variables to clobber each other.
We'll work on a different fix.
This reverts commit c5469f6367
.
2012-10-21 16:42:15 -04:00
Michael DeHaan
5020af0a45
Merge pull request #1404 from dagwieers/doc-fix1
...
Clarify how only_if works, also combined with with_items
2012-10-22 04:57:42 -07:00
Dag Wieers
7d990fa167
Clarify how only_if works, also combined with with_items
...
- The old documentation stated not to quote the variable in the function, which is obviously wrong. When using lists or integers, we have to quote otherwise the startswith() method will trip over its non-existence.
- It was unclear that the only_if statement is processed for each item when doing with_items, so I added an example making it crystal clear how this can be used in your advantage (or why a non-existing list variable can break your logic if you expected the only_if to be processed once before running the task)
2012-10-22 12:30:47 +02:00
Michael DeHaan
52f2ed5fe1
Merge pull request #1399 from dhozac/set-delegate-for-alias
...
Fix ansible_ssh_host again
2012-10-21 15:25:10 -07:00
Daniel Hokka Zakrisson
1449c8ac67
Fix ansible_ssh_host again
...
This time with unit tests to ensure it keeps working.
2012-10-21 21:22:56 +02:00
Michael DeHaan
572c66b7f6
Add a bit more info about tests to CONTRIBUTING
2012-10-21 07:15:30 -04:00
Michael DeHaan
3c6d9972fe
clarify message about name of configuration parameter
2012-10-21 07:12:06 -04:00
Michael DeHaan
4fd14ac3e7
Merge pull request #1396 from nigelm/nigelm_doc_tweaks
...
Added some info on the unit tests requirements
2012-10-21 04:04:59 -07:00
Nigel Metheringham
cc30eb74e2
Added some info on the unit tests requirements
2012-10-21 09:41:18 +01:00
Michael DeHaan
dad331d0a5
update changelog
2012-10-20 23:07:49 -04:00
Michael DeHaan
cbc12f0dba
Various performance streamlining and making the file features usable in all modules without daisy chaining.
2012-10-20 22:55:09 -04:00
Michael DeHaan
60b9316ad8
Merge pull request #1393 from baalexander/devel
...
Adds release date for Cathedral
2012-10-20 18:58:03 -07:00
Brandon Alexander
ce7656d9cd
Adds release date for Cathedral
...
I also prepended each single digit month with a 0 for the dates to line up. Feel free to change that :)
2012-10-20 17:21:10 -07:00
Michael DeHaan
4104478abd
Added 'script', a module that can push and insantly run a remote script. Replaces the need to copy+command.
...
This is a bit of a rough draft, some error handling still needs to be added.
2012-10-20 12:12:07 -04:00
Michael DeHaan
7e2d6c0050
Clarify first_available_file is only for copy/template
2012-10-20 11:16:05 -04:00
Michael DeHaan
019f775a93
DWIM the paths for first_available_file
2012-10-20 11:11:31 -04:00
Michael DeHaan
6fa1a49037
Fix the basic templating system such that when the template ends in '$', life continues as normal.
2012-10-20 10:57:52 -04:00
Michael DeHaan
6b8448051f
Merge pull request #1389 from sfromm/issue1214
...
Add ability to create SSH key for user in user module
2012-10-20 07:30:24 -07:00
Michael DeHaan
3c739b1a88
Merge pull request #1339 from inertialbit/add-basic-pg-role-attribute-support
...
add role_attr_flags parameter to postgresql_user
2012-10-20 07:29:26 -07:00
Michael DeHaan
ed9f5eed09
Merge pull request #1338 from alopropoz/extra_vars_override
...
Vars specified via CLI have the highest priority.
2012-10-20 07:29:12 -07:00
Stephen Fromm
87954f2110
Use os.path.join where appropriate
2012-10-19 22:22:27 -07:00
Stephen Fromm
63ba441163
Add ability to create SSH key for user in user module
...
This allows one to create a SSH key for user. You may define:
ssh_key_type, ssh_key_bits, ssh_key_file, ssh_key_comment,
and ssh_key_passphrase. If no passphrase is provided, the
key will be passphrase-less. This will not overwrite an existing key.
In the JSON returned, it will provide the ssh_fingerprint and
ssh_key_file.
2012-10-19 22:00:31 -07:00
Michael DeHaan
5bdc16338e
Release version bump for 0.9 (development branch)
2012-10-19 21:01:57 -04:00
Michael DeHaan
67b1372d63
Update packaging and CHANGELOG for release
2012-10-19 20:46:59 -04:00
Michael DeHaan
ed7776d44c
update changelog
2012-10-19 20:45:06 -04:00
Michael DeHaan
68cf9a96fc
Merge pull request #1388 from goozbach/selinux_bugs
...
make policy only be required if state is not disabled
2012-10-19 16:35:15 -07:00
Michael DeHaan
f2b2777762
Merge pull request #1386 from jkleint/devel
...
Update Hadoop contrib URL.
2012-10-19 16:33:55 -07:00
Michael DeHaan
51b423b593
Merge pull request #1387 from skvidal/devel
...
when a pkg is installed, but not from any repo, don't error out
2012-10-19 16:33:35 -07:00
Derek Carter
99180e7da3
make policy only be required if state is not disabled
2012-10-19 17:17:30 -04:00
Seth Vidal
326b160241
when a pkg is installed, but not from any repo, don't error out
...
that it is not installed.
Also when a pkg is both installed and in a repo do not look it up
more than once
2012-10-19 16:28:39 -04:00
John Kleint
859a898df6
Update Hadoop contrib URL.
...
References issue #1380 .
2012-10-19 10:49:44 -04:00
Michael DeHaan
cde377bddb
Merge pull request #1385 from dhozac/raise-error-for-scripts-too
...
Raise error for missing hosts in inventory scripts as well
2012-10-19 07:30:01 -07:00
Daniel Hokka Zakrisson
b8021f12e0
Raise error for missing hosts in inventory scripts as well
2012-10-19 16:26:12 +02:00
Michael DeHaan
2e3273595a
Merge pull request #1383 from dhozac/fix-for-local-port
...
None is unfortunately not an integer
2012-10-19 07:24:48 -07:00
Daniel Hokka Zakrisson
e3d18048d4
None is unfortunately not an integer
2012-10-19 16:18:38 +02:00
Michael DeHaan
5a08da98a3
Update contrib/README.md
2012-10-18 21:58:17 -03:00
Michael DeHaan
d509dfc969
delete extra else clause
2012-10-18 20:27:39 -04:00
Michael DeHaan
452668ce83
Merge branch 'devel' of git://github.com/willthames/ansible into devel
2012-10-18 20:23:10 -04:00
Michael DeHaan
33c1e6d9af
update changelog
2012-10-18 20:21:27 -04:00
Michael DeHaan
31b45479e8
When using delegation, local_action should always use the local connection type.
2012-10-18 20:18:33 -04:00
Michael DeHaan
d58bc4da4e
Merge pull request #1361 from lantins/devel
...
Copy module can replace symlink with a real file.
2012-10-18 16:59:45 -07:00
Michael DeHaan
896be48ac9
Merge pull request #1367 from jpmens/mdtempl
...
Add support for Github-flavored Markdown to module_formatter
2012-10-18 16:59:18 -07:00
Michael DeHaan
05866bba1e
Merge pull request #1372 from jpmens/rst_template1
...
module_formatter: .rst now correctly handles code examples
2012-10-18 16:58:08 -07:00
Michael DeHaan
e59f5d609b
Merge pull request #1373 from jpmens/who1
...
Addition to WhoUses + typo fix
2012-10-18 16:57:50 -07:00
Michael DeHaan
655682b7bb
Merge pull request #1374 from brainpage/symlink_fix
...
symlink fix
2012-10-18 16:57:25 -07:00
Michael DeHaan
1e6e5c216c
Merge pull request #1375 from sergevanginderachter/devel
...
docsite: small typo in handlers example yaml
2012-10-18 16:57:06 -07:00
Michael DeHaan
6300d93132
Merge pull request #1378 from dhozac/ansible_ssh-fixes
...
Fixes for ansible_ssh_host and ansible_ssh_port
2012-10-18 16:54:20 -07:00
Daniel Hokka Zakrisson
979999b886
Port should be an integer
2012-10-18 21:48:57 +02:00