Fix YAML Lint
parent
79d6ed7966
commit
4f7f8481bc
|
@ -1,3 +1,5 @@
|
|||
---
|
||||
|
||||
env:
|
||||
- PLATFORM='docker-buster-default-master' ANSIBLE_VERSION='ansible>=2.9,<2.10'
|
||||
- PLATFORM='docker-buster-upstream-master' ANSIBLE_VERSION='ansible>=2.9,<2.10'
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
|
||||
extends: default
|
||||
|
||||
rules:
|
||||
line-length: disable
|
|
@ -62,10 +62,9 @@ mariadb_mysqldump_max_allowed_packet: '64M'
|
|||
mariadb_extra_configuration: {}
|
||||
|
||||
# Example:
|
||||
#mariadb_extra_configuration:
|
||||
# mariadb_extra_configuration:
|
||||
# 'innodb_awsome_feature': 1
|
||||
|
||||
|
||||
# -------------------------------------
|
||||
# Replication
|
||||
# -------------------------------------
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
|
||||
galaxy_info:
|
||||
author: Emilien Mantel
|
||||
description: Install and configure MariaDB (and Galera Cluster) on Debian
|
||||
|
@ -19,5 +20,5 @@ galaxy_info:
|
|||
- debian
|
||||
- galera
|
||||
- cluster
|
||||
dependencies: []
|
||||
|
||||
dependencies: []
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
- name: APT | Install few MariaDB related tools
|
||||
apt:
|
||||
pkg: "{{ mariadb_tools }}"
|
||||
install_recommends: no
|
||||
install_recommends: false
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
- name: MYSQL_REPLICATION | Get slave status
|
||||
mysql_replication:
|
||||
mode: getslave
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: slave_status
|
||||
|
||||
- name: INCLUDE | Import data
|
||||
|
@ -29,5 +29,5 @@
|
|||
- name: MYSQL_REPLICATION | Get slave status
|
||||
mysql_replication:
|
||||
mode: getslave
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
register: slave_status
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
# TODO: add an "ignore warning"
|
||||
- name: COMMAND | Sync backup to slave - TODO remove vagrant as static user (see why mariadb_backup_user is not working)
|
||||
shell: "sudo -E rsync --rsync-path='sudo rsync' -a -e 'ssh -o StrictHostKeyChecking=no' {{ mariadb_backup_user }}@{{ mariadb_slave_import_from }}:{{ mariadb_backup_dir }}/ {{ mariadb_datadir }}/"
|
||||
become: no
|
||||
become: false
|
||||
|
||||
- name: FILE | Re-apply owner
|
||||
file:
|
||||
|
@ -63,7 +63,7 @@
|
|||
state: directory
|
||||
owner: mysql
|
||||
group: mysql
|
||||
recurse: yes
|
||||
recurse: true
|
||||
|
||||
- name: SHELL | Remove InnoDB redo logs
|
||||
shell: "rm -f {{ mariadb_datadir }}/ib_logfile*"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
- name: APT | Install some packages
|
||||
apt:
|
||||
name: "{{ p }}"
|
||||
update_cache: yes
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
vars:
|
||||
p: ['ca-certificates', 'curl', 'strace', 'vim']
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
---
|
||||
|
||||
mariadb_tools:
|
||||
- mariadb-backup
|
||||
- mysqltuner
|
||||
|
|
Loading…
Reference in New Issue