Merge branch 'master' into missing_becomes
This commit is contained in:
commit
3317b6af40
1 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@
|
||||||
file:
|
file:
|
||||||
path: "{{ sysd_script }}"
|
path: "{{ sysd_script }}"
|
||||||
state: absent
|
state: absent
|
||||||
when: not sysd_stat_result.stat.islnk
|
when: sysd_stat_result.stat.exists and not sysd_stat_result.stat.islnk
|
||||||
|
|
||||||
- name: Create a symbolic link to the default systemd location to the first instance running on this host
|
- name: Create a symbolic link to the default systemd location to the first instance running on this host
|
||||||
become: yes
|
become: yes
|
||||||
|
|
@ -107,7 +107,7 @@
|
||||||
state: link
|
state: link
|
||||||
src: "{{ instance_sysd_script }}"
|
src: "{{ instance_sysd_script }}"
|
||||||
path: "{{ sysd_script }}"
|
path: "{{ sysd_script }}"
|
||||||
when: not sysd_stat_result.stat.islnk
|
when: sysd_stat_result.stat.exists and not sysd_stat_result.stat.islnk
|
||||||
notify:
|
notify:
|
||||||
- reload systemd configuration
|
- reload systemd configuration
|
||||||
- restart elasticsearch
|
- restart elasticsearch
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue