Michael DeHaan
08324cb5d7
Allow play tagging in context of new meta-tasks.
2013-04-21 17:12:12 -04:00
Michael DeHaan
ef23c42a3d
Merge pull request #2737 from jkleckner/more-spelling
...
Nit fix spelling of separate
2013-04-21 14:08:59 -07:00
Jim Kleckner
5e5235a433
Nit fix spelling of separate
2013-04-21 12:33:51 -07:00
Chad Ostrowski
e1396f853b
Links are the best kinds of instructions
...
Link people right to this page on Github, so they can click "edit" right there. No need for them to search for the repo, figure out that the docsite isn't a separate repo, and navigate to the given dir.
2013-04-21 13:58:06 -03:00
Chad Ostrowski
0bb145af40
Mention vars_files before the Roles section
...
The Roles section assumes some familiarity with vars_files, which this note attempts to briefly provide.
2013-04-21 13:45:45 -03:00
Michael DeHaan
97f9b6df1c
Merge pull request #2730 from tomkins/devel
...
sysctl check fails if a custom sysctl_file is given.
2013-04-21 09:23:10 -07:00
Stoned Elipot
747c7f0dff
handlers must be run once
...
so remove all occurences of each host from the handlers notified by
lists
2013-04-21 17:23:13 +02:00
Alex Tomkins
b1d5b97bbe
sysctl check fails if a custom sysctl_file is given.
2013-04-21 15:28:56 +01:00
Michael DeHaan
7fabaec55f
Fix doc formatting error
2013-04-20 22:48:20 -04:00
Michael DeHaan
c9a128a5c5
Rewrote the precedence docs.
2013-04-20 22:44:40 -04:00
Michael DeHaan
f90f571f4d
Update the release date & code names in the releases file.
2013-04-20 18:21:25 -04:00
Michael DeHaan
856c721bf7
Update changelog
2013-04-20 18:21:03 -04:00
Michael DeHaan
cf3c77661b
Document the new handler flushing system.
2013-04-20 18:10:01 -04:00
Michael DeHaan
32fb6c807c
Allow handlers to run in between pre_tasks, roles, tasks, and post_tasks.
2013-04-20 18:03:03 -04:00
Michael DeHaan
84781bf185
Add documentation about pre_tasks and post_tasks with roles.
2013-04-20 16:21:52 -04:00
Michael DeHaan
37789a852a
Rename set_up and tear_down to pre_tasks and post_tasks
2013-04-20 16:19:01 -04:00
Michael DeHaan
d7623d1f91
Added a 'set_up' and 'tear_down' which are like tasks, but execute before and after roles.
2013-04-20 16:07:06 -04:00
Michael DeHaan
e6bf01a6b0
Make plugin loader path operations more efficient.
2013-04-20 12:31:14 -04:00
Michael DeHaan
5a8dff5bce
Instantiate inventory plugins only once for efficiency reasons.
2013-04-20 09:59:40 -04:00
Michael DeHaan
817b0cdc80
Instantiate filter plugins only once to save some efficiency.
2013-04-20 09:51:20 -04:00
Michael DeHaan
bac3449db7
Restructure hacking readme.
2013-04-20 09:36:09 -04:00
Michael DeHaan
e2d9e1b5c2
Convert 'hacking' instructions to markdown, add more info.
2013-04-20 09:34:38 -04:00
Michael DeHaan
cfe8af493f
Since using platform.node, be sure to just return the hostname component.
2013-04-20 09:34:37 -04:00
Michael DeHaan
6e1514e975
Merge pull request #2727 from dsedivec/devel
...
Don't send unicode instances to the selinux module
2013-04-20 06:21:27 -07:00
Michael DeHaan
5b44c3d52c
Merge commit '53ac0bb' into devel
2013-04-20 09:13:10 -04:00
Michael DeHaan
87788b1d17
Ignore inventory config files when using an inventory directory.
2013-04-20 09:10:19 -04:00
Michael DeHaan
58d72b28c5
Fixup authorized key documentation formatting
2013-04-20 09:10:19 -04:00
Michael DeHaan
adac8f5312
Showcase the new-style lookup plugin access in the authorized_key docs rather than the old-style $FILE
2013-04-20 09:10:19 -04:00
Michael DeHaan
53ac0bbec2
Instantiate callback plugins only once so we can set play/task objects on them and they'll stick.
2013-04-20 09:09:35 -04:00
Dale Sedivec
c8f4a56cad
Don't send unicode instances to the selinux module
...
This fixes #2632 . Briefly: specifying things like paths using complex
args in a playbook will make the objects unicode instances. The selinux
module does not accept unicode instances for its char * arguments; it
wants str instances.
Per mpdehaan's comment on #2632 I just went ahead and converted all
paths to UTF-8. I don't know if it would be better to do something like
converting to locale.getpreferredencoding(), but I factored all the
conversions out into new method _to_filesystem_str, so there's only one
place that needs to be changed in the future.
2013-04-19 20:12:11 -05:00
Michael DeHaan
df93d7dd97
Ignore inventory config files when using an inventory directory.
2013-04-19 19:01:19 -04:00
Michael DeHaan
66afe13346
Merge pull request #2725 from jtsoi/patch-1
...
Typo in example, extra space breaks playbook.
2013-04-19 14:54:16 -07:00
jtsoi
8c11624f14
Typo in example, extra space breaks playbook.
2013-04-19 22:43:50 +03:00
Michael DeHaan
8e7dc3c79c
Remove an extra space in the module execution line if no environment was set.
2013-04-19 08:11:56 -04:00
Michael DeHaan
5656817776
Fixup authorized key documentation formatting
2013-04-18 22:43:14 -04:00
Michael DeHaan
cd0602889d
Showcase the new-style lookup plugin access in the authorized_key docs rather than the old-style $FILE
2013-04-18 22:38:48 -04:00
Michael DeHaan
0f86b26823
Merge pull request #2720 from base10/devel
...
Small spelling correction to authorized_key module docs
2013-04-18 19:34:10 -07:00
Nathan L. Walls
e8f46822e5
Small spelling correction to authorized_key module docs
2013-04-18 22:16:28 -04:00
Dag Wieers
b13beb3689
New module 'set_fact' to define host facts
...
This module allows you to set host facts (or export play variables to the playbook scope if you fancy that).
The module also accepts complex arguments.
```yaml
- action: set_fact fact="something" global_fact="${local_var}"'
- action: set_fact
args:
fact: something
global_fact: ${local_var}
```
2013-04-18 23:06:58 +02:00
Michael DeHaan
c35ef43517
Merge pull request #2716 from skvidal/first_found_skip_fix
...
clean up first_found to fix a few issues:
2013-04-18 13:51:48 -07:00
Seth Vidal
7b8cec3f59
clean up first_found to fix a few issues:
...
- add a skip option so it won't raise an exception if you don't match anything
- make it work as a drop-in replacement for first_available_file
- document in the module comments all of the above cases
2013-04-18 16:47:10 -04:00
Michael DeHaan
5f1e2afc34
Revert "make atomic_replace use shutil.copy2 instead of os.rename() so it will work across filesystems".
...
AR function was leaving some tmp files behind, want to revert, will have better implementation soon, this is the old way now.
This reverts commit f74a1fa4f0
.
2013-04-18 15:46:42 -04:00
Michael DeHaan
3238d0947d
Merge pull request #2712 from lwade/devel
...
correct reference to module
2013-04-18 05:29:13 -07:00
lwade
a154a5ddd4
correct reference to module
2013-04-18 10:36:07 +01:00
Michael DeHaan
d8bf87b008
(A) include errors in inventory scripts should they occur.
...
(B) allow registration with ignore_errors: True
2013-04-17 22:27:00 -04:00
Michael DeHaan
6544af9616
Merge pull request #2705 from b6d/utils-fix
...
Fix if-statement that always evaluates True
2013-04-17 11:13:58 -07:00
Bernhard Weitzhofer
fb0a99e5d8
Fix if-statement that always evaluates True
2013-04-17 19:40:06 +02:00
Michael DeHaan
a02202eff7
Merge pull request #2701 from chamill/devel
...
Fix 'sequence' plugin error.
2013-04-17 08:48:15 -07:00
C. Morgan Hamill
88eb5516eb
Fix 'sequence' plugin error.
...
If 'terms' is a string, replace it with a single item list.
2013-04-17 11:45:28 -04:00
Michael DeHaan
40b78f96de
Merge pull request #2700 from chamill/devel
...
Fix errors in lookup plugins.
2013-04-17 08:41:14 -07:00