16 lines
309 B
YAML
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
|