def create_machines(self): """Create Droplets""" logger.info("Creating machines") result = execute("pip freeze", output=False) dopy_found = False for item in result: if item.startswith("dopy"): dopy_found = True if not dopy_found: logger.error("Unable to find Python module \'dopy\'") sys.exit(1) call_ansible(os.path.realpath(os.path.join(os.path.curdir, 'playbooks/machine.yaml')))
def run(self): call_ansible(os.path.realpath(os.path.join(os.path.curdir, 'playbooks/client.yaml')))
def run(self): call_ansible(os.path.realpath(os.path.join(os.path.curdir, 'site.yaml')))
def run(self): if self.tag is not None: self.tag = [self.tag] call_ansible(os.path.realpath(os.path.join(os.path.curdir, 'playbooks/sol.yaml')), tag = self.tag )
def run(self): call_ansible(os.path.realpath(os.path.join(os.path.curdir, "playbooks/helm.yaml")))