add create etcd datadir
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2796|5|2791|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/etcd/5//ansiblelint">Evolix » ansible-roles » etcd #5</a>
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2796|5|2791|5|:-1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/etcd/5//ansiblelint">Evolix » ansible-roles » etcd #5</a>
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
953c7fc48f
commit
6f68d17b95
|
@ -8,3 +8,12 @@
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
||||||
|
- name: Create etcd datadir
|
||||||
|
ansible.builtin.file:
|
||||||
|
name: "/var/lib/etcd/{{ etcd_cluster_token }}"
|
||||||
|
state: directory
|
||||||
|
owner: etcd
|
||||||
|
group: etcd
|
||||||
|
mode: "0700"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue