DEV-267: added missing dependency roles - found with ansible-lint

master
friedrich goerz 4 years ago
parent b0c3b5d947
commit eb08be1702

@ -1,32 +1,13 @@
# Prepare ansible Installation # Prepare ansible Installation
## Option 1 ## Install needed python pip packages
- 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
pip3 install -r pip-requirements pip3 install -r pip-requirements
## Option 2 ## Install needed ansible collections / roles
- Install python dependencies with poetry
poetry install
# Install needed ansible collections / roles
## Without poetry
ansible-galaxy install -r galaxy-requirements.yml ansible-galaxy install -r galaxy-requirements.yml
## With poetry
poetry run ansible-galaxy install hetzner.hcloud
# Setup # Setup
Create/Start servers for stage-dev Create/Start servers for stage-dev

@ -1,5 +1,9 @@
--- ---
roles: roles:
- name: geerlingguy.docker
version: 4.1.1
- name: geerlingguy.kubernetes
version: 7.1.0
- name: geerlingguy.redis - name: geerlingguy.redis
version: 1.7.0 version: 1.7.0
- name: idealista.prometheus_redis_exporter_role - name: idealista.prometheus_redis_exporter_role

@ -1,6 +1,7 @@
ansible ansible
ansible-core>=2.10 ansible-core>=2.10
ansible-builder ansible-builder
ansible-lint
dnspython dnspython
hcloud>=1.16.0 hcloud>=1.16.0
jmespath jmespath

Loading…
Cancel
Save