Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improved formatting for some files #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name-template: "v$RESOLVED_VERSION 🌈"
tag-template: "v$RESOLVED_VERSION"
categories:
Expand Down
1 change: 1 addition & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Release Drafter

on:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.venv/
.idea/
.vscode/
venv/
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@

**Table of Contents** _generated with [DocToc](https://github.com/thlorenz/doctoc)_

- [ansible-mariadb-galera-cluster](#ansible-mariadb-galera-cluster)
- [Build Status](#build-status)
- [Requirements](#requirements)
- [Vagrant](#vagrant)
- [Role Variables](#role-variables)
- [Dependencies](#dependencies)
- [Example Playbook](#example-playbook)
- [License](#license)
- [Author Information](#author-information)
- [ansible-mariadb-galera-cluster](#ansible-mariadb-galera-cluster)
- [Build Status](#build-status)
- [Requirements](#requirements)
- [Role Variables](#role-variables)
- [Dependencies](#dependencies)
- [Example Playbook](#example-playbook)
- [License](#license)
- [Author Information](#author-information)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

Expand Down
2 changes: 1 addition & 1 deletion tasks/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
ansible.builtin.file:
path: "/etc/mysql/conf.d"
state: "directory"
mode: 0755
mode: "0755"
become: true
when: mariadb_config_overrides is defined

Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
- ansible.builtin.import_tasks: galera_monitoring.yml
tags:
- config_galera_monitoring
when: galera_enable_galera_monitoring_script
when: galera_enable_galera_monitoring_script|bool

- ansible.builtin.import_tasks: cacti.yml
tags:
Expand Down
5 changes: 1 addition & 4 deletions tasks/system_performance_tuning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,4 @@
become: true
when:
- mariadb_swappiness != 'auto'
- "not (
(ansible_virtualization_role == 'guest')
and (ansible_virtualization_type == 'lxc')
)"
- not ( (ansible_virtualization_role == 'guest') and (ansible_virtualization_type == 'lxc') )
7 changes: 1 addition & 6 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
# vars file for ansible-mariadb-galera-cluster

galera_cluster_nodes: "\
{% set _galera_cluster_nodes = [] %}\
{% for host in groups[ galera_cluster_nodes_group ] %}\
{{ _galera_cluster_nodes.append( host )|default('', True) }}\
{% endfor %}\
{{ _galera_cluster_nodes }}"
galera_cluster_nodes: "{% set _galera_cluster_nodes = [] %}{% for host in groups[ galera_cluster_nodes_group ] %}{{ _galera_cluster_nodes.append( host )|default('', True) }}{% endfor %}{{ _galera_cluster_nodes }}"
Loading