From 44ca37f31d1a33d9c03c63558d1f8d5eb23d1db9 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Sun, 30 Jul 2023 15:04:59 +0200 Subject: [PATCH] remove dependencies auto-install for standardization --- README.md | 3 ++- tasks/prerequisites.yml | 9 --------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 2ada44d..5a89774 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,8 @@ This variable defines whether or not to start the service after creating it. By Dependencies ------------ -This role has a task that installs its own dependencies located in `task/prerequisites.yml`, so that you don't need to manage them. This role requires both `ednxzu.manage_repositories` and `ednxzu.manage_apt_packages` to install consul-template. +`ednxzu.manage_repositories` to configure hashicorp apt repository. +`ednxzu.manage_apt_packages` to install consul-template. Example Playbook ---------------- diff --git a/tasks/prerequisites.yml b/tasks/prerequisites.yml index dde8369..32d7c20 100644 --- a/tasks/prerequisites.yml +++ b/tasks/prerequisites.yml @@ -1,14 +1,5 @@ --- # task/prerequisites file for renew_consul_certificates -- name: "Install required roles" - ansible.builtin.command: - cmd: "ansible-galaxy install {{ item }}" - loop: "{{ renew_consul_certificates_prerequisites_roles }}" - changed_when: false - become: false - delegate_to: localhost - run_once: true - - name: "Create directory {{ renew_consul_certificates_config_dir }}" ansible.builtin.file: path: "{{ renew_consul_certificates_config_dir }}"