remove dependencies auto-install, for more standard roles
All checks were successful
test / Linting (push) Successful in 6s
test / Molecule tests (default, debian12) (push) Successful in 1m4s
test / Molecule tests (default, debian11) (push) Successful in 1m7s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m6s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m4s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m7s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m2s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m5s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m14s
All checks were successful
test / Linting (push) Successful in 6s
test / Molecule tests (default, debian12) (push) Successful in 1m4s
test / Molecule tests (default, debian11) (push) Successful in 1m7s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m6s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m4s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m7s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m2s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m5s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m14s
This commit is contained in:
parent
5d61ced01b
commit
d4d541ee15
@ -81,7 +81,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
|
||||
----------------
|
||||
|
@ -1,14 +1,5 @@
|
||||
---
|
||||
# task/prerequisites file for renew_vault_certificates
|
||||
- name: "Install required roles"
|
||||
ansible.builtin.command:
|
||||
cmd: "ansible-galaxy install {{ item }}"
|
||||
loop: "{{ renew_vault_certificates_prerequisites_roles }}"
|
||||
changed_when: false
|
||||
become: false
|
||||
delegate_to: localhost
|
||||
run_once: true
|
||||
|
||||
- name: "Create directory {{ renew_vault_certificates_config_dir }}"
|
||||
ansible.builtin.file:
|
||||
path: "{{ renew_vault_certificates_config_dir }}"
|
||||
|
@ -1,8 +1,5 @@
|
||||
---
|
||||
# vars file for renew_vault_certificates
|
||||
renew_vault_certificates_prerequisites_roles:
|
||||
- ednxzu.manage_repositories
|
||||
- ednxzu.manage_apt_packages
|
||||
renew_vault_certificates_repository:
|
||||
- uri: "https://apt.releases.hashicorp.com"
|
||||
gpg_key: "https://apt.releases.hashicorp.com/gpg"
|
||||
|
Loading…
Reference in New Issue
Block a user