Moving checking tasks to the validation phase

This commit is contained in:
Nicolas Braud-Santoni 2016-09-12 00:52:10 +02:00
parent 8cd0648e27
commit 9bf2c45ee2
No known key found for this signature in database
GPG key ID: 9D4F88010CFE19E3
7 changed files with 8 additions and 8 deletions

View file

@ -5,7 +5,7 @@ from ..exceptions import TaskError
class CheckExternalCommands(Task):
description = 'Checking availability of external commands'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):

View file

@ -5,7 +5,7 @@ import os
class CheckPlaybookPath(Task):
description = 'Checking whether the playbook path exist'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):

View file

@ -7,7 +7,7 @@ import urllib2
class CheckAptProxy(Task):
description = 'Checking reachability of APT proxy server'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):

View file

@ -5,7 +5,7 @@ import os
class CheckAssetsPath(Task):
description = 'Checking whether the assets path exist'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):

View file

@ -6,7 +6,7 @@ import os
class CheckAssetsPath(Task):
description = 'Checking whether the assets path exist'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):
@ -22,7 +22,7 @@ class CheckAssetsPath(Task):
class CheckManifestPath(Task):
description = 'Checking whether the manifest path exist'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):

View file

@ -9,7 +9,7 @@ assets = os.path.normpath(os.path.join(os.path.dirname(__file__), 'assets'))
class CheckBoxPath(Task):
description = 'Checking if the vagrant box file already exists'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):

View file

@ -9,7 +9,7 @@ assets = os.path.normpath(os.path.join(os.path.dirname(__file__), '../assets'))
class CheckGuestAdditionsPath(Task):
description = 'Checking whether the VirtualBox Guest Additions image exists'
phase = phases.preparation
phase = phases.validation
@classmethod
def run(cls, info):