renew_consul_certificates/molecule/with_custom_config_vagrant/prepare.yml

18 lines
347 B
YAML
Raw Normal View History

---
- name: Prepare
hosts: all
tasks:
- name: "Create group consul"
ansible.builtin.group:
name: "consul"
state: present
become: true
- name: "Create user consul"
ansible.builtin.user:
name: "consul"
group: "consul"
shell: /bin/false
state: present
become: true