Skip to content

Commit

Permalink
improved formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andanotheruser committed Oct 24, 2024
1 parent a83a130 commit 52eee84
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 20 deletions.
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/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 ) }}\
{% endfor %}\
{{ _galera_cluster_nodes }}"
galera_cluster_nodes: "{% set _galera_cluster_nodes = [] %}{% for host in groups[ galera_cluster_nodes_group ] %}{{ _galera_cluster_nodes.append( host ) }}{% endfor %}{{ _galera_cluster_nodes }}"

0 comments on commit 52eee84

Please sign in to comment.