- ---
- - name: apply mariadb configuration
- hosts: all
- #vars:
- # ansible_python_interpreter: /usr/bin/python3
- # ansible_user: vagrant
- # ansible_password: vagrant
- # app_bind_address: 192.168.56.14
- #pre_tasks:
- # - name: define ansible_python_interpreter group // linux distribution
- # set_fact:
- # ansible_python_interpreter: /usr/bin/python2
- # when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '7'
- roles:
- - { role: mariadb }
|