renew_nomad_certificates/molecule/default/prepare.yml

17 lines
319 B
YAML
Raw Permalink Normal View History

2023-05-01 18:21:06 +00:00
---
- name: Prepare
hosts: all
2023-12-03 17:20:08 +00:00
become: true
2023-05-01 18:21:06 +00:00
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