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

ansible python3 install

parent 7fd23a57
No related branches found
No related tags found
No related merge requests found
Pipeline #79053 failed
......@@ -12,6 +12,8 @@ variables:
TF_CACHE_KEY: default
before_script:
- apk add --no-cache python3 py3-pip
- python3 -m pip install --user 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}
......@@ -34,6 +36,7 @@ ansible-hosts-file:
script:
- chmod +x ${SCRIPTS_ROOT}/build-ansible-hosts.sh
- . ${SCRIPTS_ROOT}/build-ansible-hosts.sh
- echo $(ansible --version)
init:
stage: prepare
......
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