mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
12 lines
412 B
Python
12 lines
412 B
Python
from manifest import Manifest
|
|
|
|
|
|
def tasks(tasklist, manifest):
|
|
from tasks import packages
|
|
from tasks import connection
|
|
from tasks import host
|
|
from tasks import ebs
|
|
tasklist.add(packages.HostPackages(), packages.ImagePackages(), host.CheckPackages(),
|
|
connection.GetCredentials(), host.GetInfo(), connection.Connect())
|
|
if manifest.volume['backing'] is 'ebs':
|
|
tasklist.add(ebs.CreateVolume())
|