renew_nomad_certificates/molecule/default/prepare.yml
Bertrand Lanson 38717dcd80
All checks were successful
test / Linting (push) Successful in 41s
test / Molecule tests (default, debian11) (push) Successful in 1m8s
test / Molecule tests (default, debian12) (push) Successful in 1m13s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m23s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m25s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m16s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m11s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m21s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m45s
feat: remove become from role
2023-12-03 18:20:08 +01:00

17 lines
319 B
YAML

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