renew_consul_certificates/molecule/with_custom_config/prepare.yml

16 lines
309 B
YAML
Raw Normal View History

2023-04-29 19:46:58 +00:00
---
- name: Prepare
hosts: all
tasks:
- name: "Create group consul"
2023-04-29 19:46:58 +00:00
ansible.builtin.group:
name: "consul"
2023-04-29 19:46:58 +00:00
state: present
- name: "Create user consul"
2023-04-29 19:46:58 +00:00
ansible.builtin.user:
name: "consul"
group: "consul"
2023-04-29 19:46:58 +00:00
shell: /bin/false
state: present