view tasks/install-mariadb.yml @ 0:10185cc821e4

add
author k178572
date Wed, 20 Sep 2017 18:12:15 +0900
parents
children fa8aa41596b7
line wrap: on
line source

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

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

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