mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
13 lines
414 B
Python
13 lines
414 B
Python
|
|
|
|
def validate_manifest(data, validator, error):
|
|
from bootstrapvz.common.tools import rel_path
|
|
validator(data, rel_path(__file__, 'manifest-schema.yml'))
|
|
|
|
|
|
def resolve_tasks(taskset, manifest):
|
|
from bootstrapvz.common.tasks import ssh
|
|
from .tasks import SetRootPassword
|
|
taskset.discard(ssh.DisableSSHPasswordAuthentication)
|
|
taskset.add(ssh.EnableRootLogin)
|
|
taskset.add(SetRootPassword)
|