Michael DeHaan
4350585a1f
Merge pull request #2747 from lwade/ec2_vol_region
...
Add region support to ec2 volume module.
2013-04-22 19:04:31 -07:00
Michael DeHaan
5cced79cf3
Allow variables to be used raw in with_nested
2013-04-22 21:35:09 -04:00
Michael DeHaan
fbea88b9d9
Allow the environment string to be referenced by a bare variable name like:
...
environment: foo
2013-04-22 21:29:15 -04:00
Lester Wade
e90f313c51
Add region support to ec2 volume module.
2013-04-22 17:27:57 -07:00
Michael DeHaan
f16751de29
Merge pull request #2746 from lwade/ec2region
...
Add region parameter and changed connection code.
2013-04-22 16:30:25 -07:00
Lester Wade
8c8014363e
Add region parameter and changed connection code.
2013-04-22 16:23:30 -07:00
Michael DeHaan
f9f1d5ee42
Merge pull request #2745 from sfromm/issue2742
...
Fix test so that it is /bin/sh compliant (issue #2742 )
2013-04-22 16:23:26 -07:00
Stephen Fromm
ab3cb4912e
Fix test so that it is /bin/sh compliant (issue #2742 )
...
The old test used syntax that appeared to be bash-specific and did not
work on platforms where /bin/sh did not point to bash. See issue #2742
where copy to solaris hosts failed with the error:
output: {'stdout': '', 'stderr': '/bin/sh: test: argument expected\n',
'rc': 1}
2013-04-22 16:14:27 -07:00
Michael DeHaan
3e0c33c1fa
Empty plays should still gather facts
2013-04-21 17:35:09 -04:00
Michael DeHaan
b08181e9b4
Merge pull request #2731 from stoned/flush_handlers-cleanup
...
handlers must be run once
2013-04-21 14:14:04 -07:00
Michael DeHaan
b1d40ed064
Merge pull request #2734 from chadoh/patch-2
...
Documentation: Links are the best kinds of instructions
2013-04-21 14:13:06 -07:00
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