Table of contents
Ansible installation and configuration
Standard Installation : Got to automation/ansible/README.md Azure prerequisites : TODO
Configuration
VSCode : “C:\Users\Administrator.vscode\ansible-credentials.yml”
Docker file
FROM python:3.9-alpine
RUN apk update && apk upgrade \
&& apk add --no-cache --virtual .pipeline-deps readline linux-pam \
&& apk add bash sudo shadow \
&& apk add bash py3-pip \
&& apk add --virtual=build gcc libffi-dev musl-dev openssl-dev python3-dev make \
&& pip --no-cache-dir install -U pip \
&& pip install -r https://raw.githubusercontent.com/ansible-collections/azure/v1.15.0/requirements-azure.txt \
&& pip install ansible==7.3.0 \
&& ansible-galaxy collection install azure.azcollection:1.15.0 \
&& pip install kubernetes==26.1.0 \
&& ansible-galaxy collection install kubernetes.core:2.4.0 \
&& apk del .pipeline-deps \
&& apk del --purge build
curl -fsSL -o helm-v3.11.3-linux-amd64.tar.gz https://get.helm.sh/helm-v3.11.3-linux-amd64.tar.gz tar -zxvf helm-v3.11.3-linux-amd64.tar.gz mv linux-amd64/helm /usr/local/bin/helm
Vault password
az keyvault secret set –name ansible-vault-password –vault-name mesfVault –value