Proxy nginx + torrent client

This commit is contained in:
git
2024-02-22 15:08:25 +01:00
parent b46cd74c72
commit ca2903d731
14 changed files with 300 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
# tasks file for mariaDB_install
- name: Install
ansible.builtin.package:
name:
- mariadb-server
state: present
- name: Check version
shell: dpkg -l | grep mariadb-server | awk '{print $3}' | head -n 1 | awk -F ":" '{print $2}' | cut -d '.' -f 1,2
register: mariadb_server_ver
#- name: Print version
# ansible.builtin.debug:
# msg: "{{ mariadb_server_ver.stdout }}"
- name: Copy config
template:
src: ../templates/50-server.cnf
dest: /etc/mysql/mariadb.conf.d/50-server.cnf
owner: root
group: root
mode: '0644'
notify: mariadb restart