renew_nomad_certificates/molecule/with_custom_config/prepare.yml
Bertrand Lanson a4d952ef1a
All checks were successful
test / Linting (push) Successful in 10s
test / Molecule tests (default, debian12) (push) Successful in 1m8s
test / Molecule tests (default, debian11) (push) Successful in 1m9s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m20s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m23s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m6s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m9s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m21s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m21s
feat: add become, add vagrant tests, fix#1
2023-12-02 16:48:14 +01:00

18 lines
342 B
YAML

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