Bertrand Lanson
90a958fba0
All checks were successful
test / Linting (push) Successful in 35s
test / Molecule tests (default, debian12) (push) Successful in 1m14s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m29s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m22s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m15s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m28s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m31s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 3m14s
test / Molecule tests (default, debian11) (push) Successful in 1m11s
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
|