view tasks/install-mariadb.yml @ 7:c3ec7761518a

update 2018
author mir3636
date Tue, 18 Sep 2018 17:11:38 +0900
parents fa8aa41596b7
children 4545b6456623
line wrap: on
line source

    - name: install dnf packages
      dnf: name={{ item }} state=latest
      become: yes
      with_items:
      - mariadb
      - mariadb-server
      - MySQL-python3
      - libselinux-python

# start mariadb
    - service: name=mariadb state=restarted
      become: yes  

# chkconfig enabled mariadb 
    - service: name=mariadb enabled=yes
      become: yes