mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Clean/Prep mysql/tasks/main.yml
This commit is contained in:
parent
a6236061f0
commit
f9c64e6cd4
1 changed files with 5 additions and 8 deletions
|
@ -18,11 +18,11 @@
|
|||
tags:
|
||||
- download
|
||||
|
||||
- name: Install php{{ php_version }}-xml (ubuntu or debian-9)
|
||||
- name: Install php{{ php_version }}-xml (ubuntu or debian 9+)
|
||||
package:
|
||||
name: "php{{ php_version }}-xml"
|
||||
state: present
|
||||
when: is_ubuntu or is_debian_9
|
||||
when: is_ubuntu or (is_debian and not is_debian_8)
|
||||
|
||||
- name: Install php-xml-parser (debian-8)
|
||||
package:
|
||||
|
@ -59,16 +59,13 @@
|
|||
tags:
|
||||
- download
|
||||
|
||||
### lineinfile to add 'TimeoutStartSec=180' to /lib/systemd/system/mariadb.service here?
|
||||
|
||||
# Name of MySQL service varies by OS so softcoded in 1-prep
|
||||
- name: 'Start MySQL systemd service: {{ mysql_service }}'
|
||||
- name: Enable & Start MySQL systemd service ({{ mysql_service }}) if mysql_enabled
|
||||
systemd:
|
||||
name: "{{ mysql_service }}"
|
||||
state: started
|
||||
when: mysql_enabled | bool
|
||||
|
||||
- name: Enable MySQL systemd service (upon subsequent boots) if mysql_enabled
|
||||
systemd:
|
||||
name: "{{ mysql_service }}"
|
||||
enabled: yes
|
||||
when: mysql_enabled | bool
|
||||
|
||||
|
|
Loading…
Reference in a new issue