Skip to content
Snippets Groups Projects
Commit 19143d35 authored by Nathan Rodet's avatar Nathan Rodet
Browse files

update

parent ab8af255
No related branches found
No related tags found
No related merge requests found
Pipeline #79067 failed
......@@ -13,7 +13,13 @@ variables:
before_script:
- apk add --no-cache python3 py3-pip
- python3 -m pip install --user ansible
- python3 -m venv .venv
- git clone https://github.com/ansible/ansible.git
- cd ansible
- virtualenv venv
- source venv/bin/activate
- pip install .
- which ansible
- ssh-keygen -b 2048 -t rsa -C "${ENVIRONMENT}-cma-update-tmp" -f ${SSH_KEY_PATH} -q -N ""
- cd ${TF_ROOT}
- export TF_VAR_SCW_ACCESS_KEY=${TF_VAR_SCW_ACCESS_KEY}
......@@ -27,8 +33,8 @@ stages:
- prepare
- build
- plan
- provisionning
- configuration
- deploy
- configure
- destroy
ansible-hosts-file:
......@@ -61,7 +67,7 @@ tf-plan:
terraform: ${TF_ROOT}/plan.json
tf-apply:
stage: provisionning
stage: deploy
environment:
name: ${ENVIRONMENT}
script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment