17 lines
324 B
YAML
17 lines
324 B
YAML
|
---
|
||
|
- name: Prepare
|
||
|
hosts: all
|
||
|
become: true
|
||
|
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
|