mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update iiab-startup.yml
This commit is contained in:
parent
ce194c5abc
commit
ca3e6c354d
1 changed files with 3 additions and 3 deletions
|
@ -3,20 +3,20 @@
|
|||
path: /usr/libexec/iiab-startup.sh
|
||||
register: startup_script
|
||||
|
||||
- name: Copy template script to /usr/libexec/iiab-startup.sh
|
||||
- name: If not, install /usr/libexec/iiab-startup.sh from template
|
||||
template:
|
||||
src: iiab-startup.sh
|
||||
dest: /usr/libexec/
|
||||
mode: 0755
|
||||
when: not startup_script.stat.exists
|
||||
|
||||
- name: Copy iiab-startup.service to {{ systemd_location }}
|
||||
- name: Install {{ systemd_location }}/iiab-startup.service from template
|
||||
template:
|
||||
src: iiab-startup.service
|
||||
dest: "{{ systemd_location }}"
|
||||
when: not startup_script.stat.exists
|
||||
|
||||
- name: Enable & restart the systemd service after daemon-reload
|
||||
- name: Enable & restart systemd service (iiab-startup) after daemon-reload
|
||||
# shell: systemctl daemon-reload
|
||||
# shell: systemctl restart iiab-startup.service
|
||||
# shell: systemctl enable iiab-startup.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue