Ansible has grown organicallyataveryrapid rate for 3 years.
Some earlydesign descisions have had additionalfeatures
bolted on withoutconcern for the overallsystem architecture.
Itwas gettingto the pointwhere itwas difficultto fix bugs
and/or add new features withoutthings breakingin
Difficultyof testing, especiallyin terms of python unittests, did
Provides amethod for catchingerrors duringtask execution,
as wellas an option to always execute some setof tasks
regardless of whether an exception occurred or not.
Currentlyuses syntax similar to Ruby(begin/rescue/always)
butwillprobablybe changed to be more Pythonic
EXECUTION STRATEGY PLUGINS
Allows changes in the waytasks are executed:
linear -traditionalAnsible, which waits for allhosts to
complete atask before continuing
free -allows each hostto process tasks as fastas possible,
withoutwaitingfor other hosts
And anythingelse people can conceive -justwrite anew plugin
EXECUTION-TIME EVALUATION OF INCLUDE
Should allow the return use of include + with*actions.
INCLUDE + WITH EXAMPLE:
IMPROVED VARIABLE MANAGEMENT
Anew class (VariableManager) controls the order and source of
variables to avoid flatteningthings too early.
Playbook objects now use a`post_validate` method, which
templates allfields in one shot, as opposed to the piece-mealway
we currentlytemplate field values.
BETTER USE OF OOP
More classes, with an emphasis on each class doingone thing
More use of inheritance, especiallyin the plugin systems.
Welldefined interactions between classes.
End-goalis better abilityto write unittests.
Nothing. We are aimingfor 100%backwards-compatibility.
Plugin APIs are changing. Connection, action, and some others
We plan on writingatransition guide for authors of plugins, to
make iteasier to move them to be compatible with V2.
V2 CAN BE TESTED TODAY!
We are targetingMarch 2015 for the switchover on the devel
Ansible 1.9 willbe released before the switchover, and willbe the
lastmajor release usingthe 'v1'code.
The originalcode willstillbe available in the source tree, with its
own `hacking` scriptavailable should people wish to continue
As noted above, we are aimingfor arelease in early-mid March.
This release willprimarilybe aboutbugfixes and new modules in
the "extras"repo, butwillalso introduce supportfor
PowerBroker authentication in addition to su/sudo..
This version willalso introduce the use of officialrelease
candidates for testing.