renew_vault_certificates/molecule/default_vagrant/prepare.yml
Bertrand Lanson ed2c223727
All checks were successful
test / Linting (push) Successful in 11s
test / Molecule tests (default, debian11) (push) Successful in 1m5s
test / Molecule tests (default, debian12) (push) Successful in 1m8s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m20s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m21s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m5s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m7s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m19s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m18s
feat: add become, add vagrant tests, fix #1
2023-12-02 16:06:10 +01:00

18 lines
342 B
YAML

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