diff --git a/.config/make/molecule.mak b/.config/make/molecule.mak index 11915f133..61572edfa 100644 --- a/.config/make/molecule.mak +++ b/.config/make/molecule.mak @@ -5,52 +5,52 @@ ACTIVATE_VENV = . .venv/bin/activate .PHONY: molecule-test molecule-test: ## Run test sequence for default scenario - $(ACTIVATE_VENV) && molecule test + $(ACTIVATE_VENV) && cd automation && molecule test .PHONY: molecule-destroy molecule-destroy: ## Run destroy sequence for default scenario - $(ACTIVATE_VENV) && molecule destroy + $(ACTIVATE_VENV) && cd automation && molecule destroy .PHONY: molecule-converge molecule-converge: ## Run converge sequence for default scenario - $(ACTIVATE_VENV) && molecule converge + $(ACTIVATE_VENV) && cd automation && molecule converge .PHONY: molecule-reconverge molecule-reconverge: ## Run destroy and converge sequence for default scenario - $(ACTIVATE_VENV) && molecule destroy && molecule converge + $(ACTIVATE_VENV) && cd automation && molecule destroy && && molecule converge .PHONY: molecule-test-all molecule-test-all: ## Run test sequence for all scenarios - $(ACTIVATE_VENV) && molecule test --all + $(ACTIVATE_VENV) && cd automation && molecule test --all .PHONY: molecule-destroy-all molecule-destroy-all: ## Run destroy sequence for all scenarios - $(ACTIVATE_VENV) && molecule destroy --all + $(ACTIVATE_VENV) && cd automation && molecule destroy --all .PHONY: molecule-test-scenario molecule-test-scenario: ## Run molecule test with specific scenario (example: make molecule-test-scenario MOLECULE_SCENARIO="scenario_name") - $(ACTIVATE_VENV) && molecule test --scenario-name $(MOLECULE_SCENARIO) + $(ACTIVATE_VENV) && cd automation && molecule test --scenario-name $(MOLECULE_SCENARIO) .PHONY: molecule-destroy-scenario molecule-destroy-scenario: ## Run molecule destroy with specific scenario (example: make molecule-destroy-scenario MOLECULE_SCENARIO="scenario_name") - $(ACTIVATE_VENV) && molecule destroy --scenario-name $(MOLECULE_SCENARIO) + $(ACTIVATE_VENV) && cd automation && molecule destroy --scenario-name $(MOLECULE_SCENARIO) .PHONY: molecule-converge-scenario molecule-converge-scenario: ## Run molecule converge with specific scenario (example: make molecule-converge-scenario MOLECULE_SCENARIO="scenario_name") - $(ACTIVATE_VENV) && molecule converge --scenario-name $(MOLECULE_SCENARIO) + $(ACTIVATE_VENV) && cd automation && molecule converge --scenario-name $(MOLECULE_SCENARIO) .PHONY: molecule-dependency molecule-dependency: ## Run dependency sequence - $(ACTIVATE_VENV) && molecule dependency + $(ACTIVATE_VENV) && cd automation && molecule dependency .PHONY: molecule-verify molecule-verify: ## Run verify sequence - $(ACTIVATE_VENV) && molecule verify + $(ACTIVATE_VENV) && cd automation && molecule verify .PHONY: molecule-login molecule-login: ## Log in to one instance using custom host IP (example: make molecule-login MOLECULE_HOST="10.172.0.20") - $(ACTIVATE_VENV) && molecule login --host $(MOLECULE_HOST) + $(ACTIVATE_VENV) && cd automation && molecule login --host $(MOLECULE_HOST) .PHONY: molecule-login-scenario molecule-login-scenario: ## Log in to one instance using custom host IP and scenario name (example: make molecule-login-scenario MOLECULE_HOST="10.172.1.20" MOLECULE_SCENARIO="scenario_name") - $(ACTIVATE_VENV) && molecule login --host $(MOLECULE_HOST) --scenario-name $(MOLECULE_SCENARIO) + $(ACTIVATE_VENV) && cd automation && molecule login --host $(MOLECULE_HOST) --scenario-name $(MOLECULE_SCENARIO)