remove dependencies auto-install for standardization
All checks were successful
test / Linting (push) Successful in 8s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m9s
test / Molecule tests (default, debian12) (push) Successful in 1m13s
test / Molecule tests (default, debian11) (push) Successful in 1m13s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m6s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m8s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m14s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m8s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m10s

This commit is contained in:
Bertrand Lanson 2023-07-30 15:04:59 +02:00
parent a2ab3c3200
commit 44ca37f31d
2 changed files with 2 additions and 10 deletions

View File

@ -98,7 +98,8 @@ This variable defines whether or not to start the service after creating it. By
Dependencies 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 Example Playbook
---------------- ----------------

View File

@ -1,14 +1,5 @@
--- ---
# task/prerequisites file for renew_consul_certificates # 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 }}" - name: "Create directory {{ renew_consul_certificates_config_dir }}"
ansible.builtin.file: ansible.builtin.file:
path: "{{ renew_consul_certificates_config_dir }}" path: "{{ renew_consul_certificates_config_dir }}"