mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Further clean/prep of mysql/tasks/main.yml
This commit is contained in:
parent
f9c64e6cd4
commit
e8b18c5ea0
1 changed files with 6 additions and 2 deletions
|
@ -59,12 +59,16 @@
|
||||||
tags:
|
tags:
|
||||||
- download
|
- download
|
||||||
|
|
||||||
### lineinfile to add 'TimeoutStartSec=180' to /lib/systemd/system/mariadb.service here?
|
### lineinfile to add 'TimeoutStartSec=180' to /lib/systemd/system/mariadb.service here
|
||||||
|
# - if file exists!
|
||||||
|
# - avoid adding it repeatedly!
|
||||||
|
# - daemon_reload below...
|
||||||
|
|
||||||
# Name of MySQL service varies by OS so softcoded in 1-prep
|
# Name of MySQL service varies by OS, so hardcoded in /opt/iiab/iiab/vars/<OS>.yml (formerly in roles/0-init/tasks/main.yml)
|
||||||
- name: Enable & Start MySQL systemd service ({{ mysql_service }}) if mysql_enabled
|
- name: Enable & Start MySQL systemd service ({{ mysql_service }}) if mysql_enabled
|
||||||
systemd:
|
systemd:
|
||||||
name: "{{ mysql_service }}"
|
name: "{{ mysql_service }}"
|
||||||
|
daemon_reload: yes
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
when: mysql_enabled | bool
|
when: mysql_enabled | bool
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue