This commit is contained in:
Michael Grote 2024-07-25 22:19:30 +02:00
parent 5f007ac04a
commit 630bd44129
3 changed files with 7 additions and 5 deletions

View file

@ -6,11 +6,12 @@ WORKDIR /
COPY requirements.txt . COPY requirements.txt .
COPY requirements.yaml . COPY requirements.yaml .
RUN python3 -m pip install --upgrade pip \ RUN python3 -m pip install --no-cache-dir --upgrade pip \
&& python3 -m pip install --no-cache-dir -r requirements.txt && python3 -m pip install --no-cache-dir -r requirements.txt
RUN ansible-galaxy install -r requirements.yaml --roles-path=/ansible/roles RUN ansible-galaxy install -r requirements.yaml --roles-path=/ansible/roles
# hadolint ignore=DL3008
RUN apt-get update \ RUN apt-get update \
&& apt-get -y --no-install-recommends install \ && apt-get -y --no-install-recommends install \
vim \ vim \

View file

@ -1,6 +1,4 @@
#pylint
pykeepass==4.0.3 pykeepass==4.0.3
jmespath jmespath==1.0.1
ansible ansible==10.2.0
#docker-compose
ansible-dev-tools==24.7.2 ansible-dev-tools==24.7.2

View file

@ -50,3 +50,6 @@ roles:
# && ansible-galaxy install -r requirements.yaml # && ansible-galaxy install -r requirements.yaml
#ansible localhost -m debug -a "var={{ lookup('viczem.keepass.keepass', 'restic_repository_password', 'password') }}" #ansible localhost -m debug -a "var={{ lookup('viczem.keepass.keepass', 'restic_repository_password', 'password') }}"
# überall in image versionen gesetzt?