From eb08be17025690235db94ad916116686474844fb Mon Sep 17 00:00:00 2001 From: friedrich goerz Date: Tue, 7 Dec 2021 14:22:36 +0100 Subject: [PATCH] DEV-267: added missing dependency roles - found with ansible-lint --- README.md | 23 ++--------------------- galaxy-requirements.yml | 4 ++++ pip-requirements | 1 + 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 06ee771..450322b 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,13 @@ # Prepare ansible Installation -## Option 1 -- Install ansible with Python. -- Install library jmespath (https://jmespath.org/). Will be used to parse JSON data. -- Install hcloud (python library for hetzner) - - pip3 install ansible jmespath hcloud netaddr - - OR +## Install needed python pip packages pip3 install -r pip-requirements -## Option 2 -- Install python dependencies with poetry - - poetry install - - -# Install needed ansible collections / roles - -## Without poetry +## Install needed ansible collections / roles ansible-galaxy install -r galaxy-requirements.yml -## With poetry - - poetry run ansible-galaxy install hetzner.hcloud - # Setup Create/Start servers for stage-dev diff --git a/galaxy-requirements.yml b/galaxy-requirements.yml index ae1253f..69f5dab 100644 --- a/galaxy-requirements.yml +++ b/galaxy-requirements.yml @@ -1,5 +1,9 @@ --- roles: +- name: geerlingguy.docker + version: 4.1.1 +- name: geerlingguy.kubernetes + version: 7.1.0 - name: geerlingguy.redis version: 1.7.0 - name: idealista.prometheus_redis_exporter_role diff --git a/pip-requirements b/pip-requirements index 05dff90..f29ab33 100644 --- a/pip-requirements +++ b/pip-requirements @@ -1,6 +1,7 @@ ansible ansible-core>=2.10 ansible-builder +ansible-lint dnspython hcloud>=1.16.0 jmespath