13 lines
592 B
Python
13 lines
592 B
Python
from __future__ import annotations
|
|
|
|
from acupedia_ops.ansible.runner import AnsibleRunResult, run_playbook
|
|
|
|
|
|
def preflight_remote(*, environment: str, limit: str | None = None, verbosity: int = 0) -> AnsibleRunResult:
|
|
return run_playbook(playbook="preflight.yml", inventory=environment, limit=limit, verbosity=verbosity)
|
|
|
|
|
|
def prepare_remote(*, environment: str, limit: str | None = None, check: bool = False,
|
|
verbosity: int = 0) -> AnsibleRunResult:
|
|
return run_playbook(playbook="prepare.yml", inventory=environment, limit=limit, check=check, verbosity=verbosity)
|