James Cammarata
6dbc45042b
Merge pull request #9436 from bobobox/patch-2
...
vars_files haven't been discussed yet
2014-11-03 11:20:40 -06:00
James Cammarata
7cd5b13e34
Make sure v2 playbook classes validate attributes
...
Also removing cruft code from earlier iteration on task.py and fixing
a bug where 'shell' was not removed from the task ds after munge()
cleaned things up
2014-10-30 16:04:34 -05:00
James Cammarata
3b0e64127d
Refactoring role spec stuff into a dedicated parsing class
...
Also reworking tests to cut down on the number of patches required
by sub-classing the DataLoader() class and reworking the base object's
structure a bit to allow its use
2014-10-30 12:42:06 -05:00
James Cammarata
bd203a44be
Adding more unittests for the v2 role class
2014-10-30 12:42:06 -05:00
James Cammarata
fe0ab8e750
Merge pull request #9408 from aklamio/devel
...
Update playbooks_variables.rst
2014-10-29 13:38:35 -05:00
Toshio Kuratomi
cd9ea13716
Merge pull request #9444 from praveenkumar/devel
...
As per yum module documents it state only support 'present, absent and latest'
2014-10-29 03:01:21 -04:00
Praveen Kumar
54ba31aeef
As per yum module documents it support 'present, absent and latest'
...
Current intro doc is pointing older way of using yum module.
2014-10-29 10:29:46 +05:30
Toshio Kuratomi
7055505227
Add python3 compat header
2014-10-28 20:44:21 -04:00
Toshio Kuratomi
e7ee9ddc0a
Add the python3 compat header
2014-10-28 20:41:51 -04:00
Toshio Kuratomi
e99dc5a57c
Add copyright and py3 compat header
2014-10-28 20:40:39 -04:00
Toshio Kuratomi
67ff4428d5
Fix up all python3 issues that do not have to do with text/bytes
2014-10-28 20:27:14 -04:00
Toshio Kuratomi
050d17295d
Remove test case that wasn't reported as something git should do
2014-10-28 19:09:32 -04:00
Toshio Kuratomi
82e8d677d9
Test the git changes for the git module's recursive flag
2014-10-28 17:58:25 -04:00
Toshio Kuratomi
cb53b0f94a
Add branch info for our submodules
2014-10-28 15:55:24 -04:00
Toshio Kuratomi
b502cb8f5d
Pull in git submodule tracking
2014-10-28 15:21:08 -04:00
Toshio Kuratomi
145b28045f
Add a changelog entry for how the git module has changed.
2014-10-28 15:15:44 -04:00
bobobox
f38f1c5663
vars_files haven't been discussed yet
...
I think this is a chapter ordering thing... vars_files have not actually be explained yet (aside from a mention of them in the note right above, which also might need reconsidering?) I think they do get introduced in the next section 'Variables'.
2014-10-28 10:15:05 -05:00
Juri Glass
9974ba01e3
added fact caching hint
2014-10-28 11:18:32 +01:00
James Cammarata
58defa5cce
Adding role deps to v2 Role class and fixing some bugs
2014-10-28 00:15:02 -05:00
James Cammarata
7ea84d7499
More v2 roles class work
...
* added ability to set parents (will be used when the deps are loaded)
* added role caching, so roles are not reloaded needlessly (and for
use in detecting when roles have already been run)
* reworked the way metadata was stored - now individual attribute fields
instead of a dictionary blob
2014-10-27 13:27:25 -05:00
James Cammarata
547c0d8140
Merge pull request #9216 from nmadhok/patch-3
...
Update playbooks_roles.rst
2014-10-27 12:03:21 -05:00
James Cammarata
29e95d86fb
Merge pull request #9425 from bobobox/patch-1
...
Typo fix in playbooks_intro.rst
2014-10-27 09:58:05 -05:00
James Cammarata
77f91eb031
Merge pull request #9422 from tonk/docfix
...
Ignore compiled Python for documentation.
2014-10-27 09:45:26 -05:00
James Cammarata
1ece7e99e5
Merge pull request #9410 from dannyroberts/patch-1
...
Update developing_modules.rst
2014-10-27 09:26:02 -05:00
James Cammarata
b896633866
Merge pull request #9402 from mscherer/fix_man_ansible_pull
...
Fix the synopsis in ansible-pull man page.
2014-10-27 09:20:59 -05:00
bobobox
66f700eb0d
Update playbooks_intro.rst
...
Small punctuation/grammar fix.
2014-10-26 14:44:04 -05:00
Ton Kersten
39bbe36fc7
Ignore compiled Python for documentation.
...
When running `ansible-doc --list` a lot of errors are
generated when `ansible-doc` tries to find documentation
strings in `.pyc` files.
2014-10-26 15:46:08 +01:00
James Cammarata
44afa7facc
Updating Role class for new DataLoader stuff
2014-10-25 23:42:35 -05:00
James Cammarata
7cb489eca3
Adding a data parsing class for v2
2014-10-24 14:06:43 -05:00
Daniel Roberts
2ef2f12472
Update developing_modules.rst
2014-10-23 16:39:09 -04:00
Juri Glass
c16c527923
Update playbooks_variables.rst
...
There is some kind of duplicated content with http://docs.ansible.com/faq.html#how-do-i-loop-over-a-list-of-hosts-in-a-group-inside-of-a-template and this gotcha isn't listed here.
2014-10-23 16:42:10 +02:00
Toshio Kuratomi
c86851be2c
Quote ControlPath ssh parameter
...
Fixes #9316
2014-10-22 18:45:02 -04:00
Toshio Kuratomi
34129a223d
update core submodules for systemd service fix
2014-10-22 16:46:50 -04:00
Toshio Kuratomi
56c268ade4
New test that newlines in systemd service scripts don't cause problems
2014-10-22 16:38:01 -04:00
James Cammarata
76a43d4b38
Updating submodule pointer for core modules
2014-10-22 14:40:56 -05:00
Michael Scherer
9c10a11aea
Fix the synopsis in ansible-pull man page.
2014-10-22 15:40:41 -04:00
Michael DeHaan
3c88f99d13
Add AnsibleFest London link.
2014-10-22 14:19:17 -04:00
James Cammarata
9ee3cd14ee
Fix typo in vault edit helper code
...
Fixes #9399
2014-10-22 11:08:01 -05:00
James Cammarata
b4f9631e4c
Revert "remove complex_args_hack as it was only needed for Baby JSON"
...
This reverts commit a6029264b8
.
Fixes #9400
2014-10-22 11:00:24 -05:00
James Cammarata
be972225a5
Removing unnecessary import from v2 parsing init
2014-10-22 11:00:24 -05:00
James Cammarata
4c47c2273a
Use convert_bare instead of string formatting for raw vars in debug action plugin
2014-10-22 11:00:24 -05:00
James Cammarata
707474a43a
Merge pull request #9394 from ronalexander/patch-1
...
Update intro_installation.rst
2014-10-22 00:48:21 -05:00
James Cammarata
987f7750ec
Merge pull request #9388 from mwarkentin/patch-2
...
Add host to polling message
2014-10-22 00:15:27 -05:00
James Cammarata
2ff17ebd93
Adding in VaultEditor tests from old unittests
2014-10-21 16:40:44 -05:00
Toshio Kuratomi
c1b290a311
Fix logic that prevents multiple action, local_action, and modules to be specified.
2014-10-21 17:04:49 -04:00
Toshio Kuratomi
6c94d85690
Tell nose to include branches in its coverage reporting
2014-10-21 16:41:16 -04:00
Toshio Kuratomi
b3452de8a7
Hook up the general parsing unittests and get them passing
2014-10-21 16:06:40 -04:00
James Cammarata
0a8c91a812
Fixing up tests, removing some of the yaml error stuff from parsing
...
* moved old unittests for vault over to the new codebase
* reverted YAML error helpers and reverted the load() function
in parsing/__init__.py, pending a rewrite of a new YAML loader
class of some kind to encapsulate all of that
* fixed an error in in the module args parser regarding the shell/
command argument parsing, where some additional arguments were
being lost
2014-10-21 13:28:01 -05:00
James Cammarata
0ed97e4d11
Updating v2 Role class code
2014-10-21 10:12:45 -05:00
Toshio Kuratomi
4c86bd3ca6
Merge the vault tempfile fix to the v2 tree
2014-10-21 10:33:33 -04:00