mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
'backup: yes' prior to copying mariadb.service from /lib/systemd/system/ to /etc/systemd/system/
This commit is contained in:
parent
51ace42a1c
commit
32beda22d2
1 changed files with 1 additions and 1 deletions
|
@ -72,6 +72,7 @@
|
|||
- name: Copy pkg's /lib/systemd/system/mariadb.service to /etc/systemd/system/ to be customized
|
||||
copy:
|
||||
force: yes
|
||||
backup: yes
|
||||
src: /lib/systemd/system/mariadb.service
|
||||
dest: /etc/systemd/system/
|
||||
when: mariadb_unit_file.stat.exists
|
||||
|
@ -94,7 +95,6 @@
|
|||
|
||||
- name: Set systemd boot timeout to 180 seconds for slow machines, in /etc/systemd/system/mariadb.service
|
||||
lineinfile:
|
||||
backup: yes
|
||||
path: /etc/systemd/system/mariadb.service
|
||||
insertafter: '^\[Service\]$'
|
||||
regexp: '^TimeoutStartSec='
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue