renew_consul_certificates/molecule/default/prepare.yml

18 lines
347 B
YAML
Raw Normal View History

2023-04-27 22:04:26 +00:00
---
- name: Prepare
hosts: all
tasks:
- name: "Create group consul"
ansible.builtin.group:
name: "consul"
state: present
become: true
2023-04-27 22:04:26 +00:00
- name: "Create user consul"
ansible.builtin.user:
name: "consul"
group: "consul"
shell: /bin/false
state: present
become: true