renew_consul_certificates/molecule/with_custom_config/prepare.yml

16 lines
309 B
YAML

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