renew_consul_certificates/molecule/default/prepare.yml
Bertrand Lanson 2873cd9e4c
Some checks failed
test / Linting (push) Successful in 32s
test / Molecule tests (default, debian12) (push) Successful in 2m27s
test / Molecule tests (default, ubuntu2004) (push) Successful in 2m29s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m19s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m25s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m25s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m41s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m19s
test / Molecule tests (default, debian11) (push) Failing after 45s
feat: add vagrant tests, become statements, fix #1
2023-12-02 10:09:56 +01:00

18 lines
347 B
YAML

---
- name: Prepare
hosts: all
tasks:
- name: "Create group consul"
ansible.builtin.group:
name: "consul"
state: present
become: true
- name: "Create user consul"
ansible.builtin.user:
name: "consul"
group: "consul"
shell: /bin/false
state: present
become: true