Brad Olson
2b8bc789c2
Remove call to undefined debug() in module 'user'.
...
I think when we stopped using stderr for debugging modules because
paramiko didn't like it, many modules used the idiom of defining
a debug function that used standard error. The def's and calls were
removed.
This looks like a stray debug() that didn't get removed and didn't
show up unless you alter a user's groups. If it's hit, 'user' fails
with a global undefined function error.
2012-05-15 09:19:43 -04:00
Jeroen Hoekx
ecc0b0770c
If /usr/share/dict/words does not exist, use cracklib-small to test large output.
2012-05-15 14:26:43 +02:00
cocoy
25f808de8f
Add state=reloaded
2012-05-15 17:28:49 +08:00
Michael DeHaan
b896157d61
Merge pull request #110 from johncallender/master
...
I noticed a few small issues in the new docs
2012-05-14 15:57:34 -07:00
Michael DeHaan
306bab93d8
Merge pull request #387 from skvidal/devel
...
implement --private-key for ansible - to take pem files as an optional arg
2012-05-14 15:56:27 -07:00
Michael DeHaan
bddf2f9755
Merge pull request #388 from wgjohnson/devel
...
Devel: created get_selinux_facts
2012-05-14 15:55:42 -07:00
Wes Johnson
153df9885e
Merge pull request #1 from wgjohnson/get_selinux_facts
...
starting fresh, doing it 'right'
2012-05-14 14:34:36 -07:00
Wes Johnson
5da7f2aff4
starting fresh, doing it 'right'
...
Lost commit history, but this way I'm not introducing crappy commit
history in RP
2012-05-14 14:31:53 -07:00
Seth Vidal
d80fd74b64
make sure private_key_file is hooked up in playbooks, too
2012-05-14 16:52:48 -04:00
Seth Vidal
b42628d858
hook up --private-key to the runner
2012-05-14 16:22:05 -04:00
Seth Vidal
96ef6482c5
add --private-key option and related infrastructure to make paramiko work
...
with a private key file - not just an agent or pw
2012-05-14 16:14:38 -04:00
Michael DeHaan
8e2528eb83
Merge pull request #384 from dne/template-fixes
...
Template fixes
2012-05-14 05:17:54 -07:00
John Callender
25d868c654
minor format and typo edits for the 0.4 doc update.
2012-05-13 17:08:42 -07:00
Daniel Néri
e4991d1a61
In the template module, use utils.template_from_file instead of reimplementing it inline
2012-05-13 20:57:01 +02:00
Daniel Néri
f8b17ef8d3
For utils.template_from_file, change 'no_engine' default to True
...
This now follows the other template functions, and implicitly also
fixes that playbook handler includes were still processed by Jinja2.
2012-05-13 20:42:11 +02:00
Daniel Néri
4b0480dd9d
Set 'hostvars' before performing variable replacements
2012-05-13 20:36:08 +02:00
Michael DeHaan
b71cf6653f
Add missing files
2012-05-13 12:03:24 -04:00
Michael DeHaan
0127df97b5
new playbooks best practices page + docs rebuild
2012-05-13 11:56:09 -04:00
Michael DeHaan
4994566124
Various docs reorg and additions
2012-05-13 11:00:02 -04:00
Michael DeHaan
bdba38c790
Merge pull request #109 from dne/patch-1
...
Remove outdated note about apt module
2012-05-12 12:27:13 -07:00
Daniel Néri
2673b4b8a4
Remove outdated note about apt module
2012-05-12 22:22:43 +03:00
Michael DeHaan
60d44e1a01
Squashed commit of the following, plus some streamlining (MPD).
...
commit e00368e7c65c65bed11fcaaf83fe8b093dbf492e
Merge: 2ea7110 c039aa0
Author: Michael DeHaan <michael.dehaan@gmail.com>
Date: Thu May 10 01:43:10 2012 -0400
Merge branch 'devel' of https://github.com/weaselkeeper/ansible into weaselkeeper-devel
commit c039aa091582cd31e206692df6f4f148394b41d6
Author: Jim Richardson <weaselkeeper@gmail.com>
Date: Fri May 11 17:55:13 2012 -0700
cleanup and simplification of ANSIBLE_REMOTE_TMP feature
commit d87f15b796b799c375808edc7cc0932d7809d325
Merge: 5917aba 4c2fd25
Author: Jim Richardson <weaselkeeper@gmail.com>
Date: Fri May 11 17:30:16 2012 -0700
Merge branch 'devel' of github.com:weaselkeeper/ansible into devel
commit 5917aba761af2e4163772d2d74e7efc0d169273a
Author: Jim Richardson <jrichardson@classmates.com>
Date: Wed May 9 11:25:45 2012 -0700
ANSIBLE_REMOTE_TMP environment variable sets where ansible will stuf tmp files on remote host. Default is /var/tmp for root, and $HOME/.ansible/tmp for non-root
commit 4c2fd2577769a6392187585828168bcb4a1476da
Author: Jim Richardson <jrichardson@classmates.com>
Date: Wed May 9 11:25:45 2012 -0700
ANSIBLE_REMOTE_TMP environment variable sets where ansible will stuf tmp files on remote host. Default is /var/tmp for root, and $HOME/.ansible/tmp for non-root
2012-05-10 01:50:22 -04:00
Michael DeHaan
85cedf52ef
fix rst + docs rebuild
2012-05-10 01:41:31 -04:00
Michael DeHaan
f81000c127
Document list on service module
2012-05-10 01:41:00 -04:00
Michael DeHaan
8559f0167d
var section tweaks
2012-05-10 01:36:52 -04:00
Michael DeHaan
c193f774c2
Doc custom facts
2012-05-10 01:33:19 -04:00
Michael DeHaan
d9fe6e959b
update docs
2012-05-10 01:27:34 -04:00
Michael DeHaan
7ea369a068
Doc system flags
2012-05-10 01:26:40 -04:00
Michael DeHaan
a00ab37b22
Document raw module.
2012-05-10 01:20:31 -04:00
Michael DeHaan
ccab8ac2c0
Reinstate raw module
2012-05-10 01:14:30 -04:00
Michael DeHaan
54a56e478b
add fake module for 'raw'
2012-05-10 01:08:01 -04:00
Michael DeHaan
c9f6a2c978
Undocument override hosts (gone in 0.4, use -i "host1,host2" if you must, but want to leave that undocumented
...
as it's not a best practice so much.
2012-05-10 01:05:32 -04:00
Michael DeHaan
2166ed8e98
Document sudo -U
2012-05-10 01:04:26 -04:00
Michael DeHaan
f4e01d2b19
notes about EPEL and release cycles
2012-05-10 00:58:27 -04:00
Michael DeHaan
0151ed4508
misc clarifications
2012-05-10 00:46:12 -04:00
Michael DeHaan
1051d8f5ca
Update git module docs
2012-05-10 00:42:26 -04:00
Michael DeHaan
7b5f77aba6
Merge pull request #107 from mcodd/executable_inventory_clarification
...
Clarifications/fixes for executable inventory examples
2012-05-11 15:26:18 -07:00
Matt Coddington
fc7bb858e4
Clarifications/fixes for executable inventory examples
2012-05-11 17:20:25 -04:00
Michael DeHaan
45100f03b1
Default git module to master branch so branch= is not required.
2012-05-10 00:41:44 -04:00
Michael DeHaan
e6416def6b
update comment about branch support, now that supported
2012-05-10 00:39:15 -04:00
Michael DeHaan
b7bb0ab225
Do not read user's SSH config file because only reading it partially is confusing to everyone :)
2012-05-09 23:45:37 -04:00
Michael DeHaan
bfe5f4d0ed
Update development changelogs
2012-05-09 23:31:58 -04:00
Michael DeHaan
e060b06081
Allow hosts not in inventory to override inventory with -i "host1,host2:port" etc, which is the original intent
...
of --override-hosts.
2012-05-09 23:26:45 -04:00
Michael DeHaan
d4f660edc3
Do not run unit tests against the EVENTS code because it is subject to change and that does not mean anything is broken.
...
If we want to test playbooks, it's best to test the result of a playbook to make sure it does the correct thing. Also
remove playbook2/3 yml which were not used.
2012-05-09 23:21:44 -04:00
Michael DeHaan
f8807da57b
Merge pull request #363 from jhoekx/template-only-if
...
Fix correct variable expansion in includes only_if.
2012-05-11 15:55:09 -07:00
Jeroen Hoekx
cd9f926b5f
Fix correct variable expansion in includes only_if.
...
There's not need to run the complete include through the templating engine.
Several variables were not included before the conditional was evaluated.
2012-05-11 15:55:33 +02:00
Michael DeHaan
dab50574e0
Merge pull request #356 from jkleint/singleton-notify
...
Support single handlers for notify.
2012-05-10 17:04:54 -07:00
Michael DeHaan
5ebe915da3
Merge pull request #355 from jkleint/devel
...
Fix YAML hosts list.
2012-05-10 13:48:57 -07:00
John Kleint
d9427db14b
Support single handlers for notify.
2012-05-10 15:37:30 -04:00
John Kleint
4cf0c5550e
Fix YAML hosts list.
2012-05-10 15:13:32 -04:00