mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Replaced redirects by origine to raise performance
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
- name: Create Docker network for MariaDB
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: "{{ mariadb_network_name }}"
|
||||
state: present
|
||||
ipam_config:
|
||||
- subnet: "{{ mariadb_subnet }}"
|
||||
|
||||
- name: install MariaDB
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: "{{ mariadb_name }}"
|
||||
image: "{{ mariadb_image }}:{{ mariadb_version}}"
|
||||
detach: yes
|
||||
|
@@ -1,5 +1,5 @@
|
||||
- name: "Create database: {{ database_name }}"
|
||||
mysql_db:
|
||||
community.mysql.mysql_db:
|
||||
name: "{{ database_name }}"
|
||||
state: present
|
||||
login_user: root
|
||||
@@ -10,7 +10,7 @@
|
||||
collation: "{{ database_collation }}"
|
||||
|
||||
- name: "Create database user: {{ database_username }}"
|
||||
mysql_user:
|
||||
community.mysql.mysql_user:
|
||||
name: "{{database_username}}"
|
||||
password: "{{database_password}}"
|
||||
host: "%"
|
||||
|
@@ -18,7 +18,7 @@
|
||||
when: not applications | get_app_conf(application_id, 'network.public', True) | bool
|
||||
|
||||
- name: create docker network for LDAP, so that other applications can access it
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: "{{ openldap_network }}"
|
||||
state: present
|
||||
ipam_config:
|
||||
|
@@ -1,5 +1,5 @@
|
||||
- name: Create Docker network for PostgreSQL
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: "{{ postgres_network_name }}"
|
||||
state: present
|
||||
ipam_config:
|
||||
|
@@ -4,7 +4,7 @@
|
||||
register: ssh_key
|
||||
|
||||
- name: Generate a SSH key for root if it does not exist
|
||||
ansible.builtin.openssh_keypair:
|
||||
community.crypto.openssh_keypair:
|
||||
path: "/root/.ssh/id_rsa"
|
||||
type: rsa
|
||||
size: 4096
|
||||
|
@@ -9,7 +9,7 @@
|
||||
name: docker-compose
|
||||
|
||||
- name: Create Docker network for Collabora
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: svc-db-mariadb
|
||||
state: present
|
||||
ipam_config:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: "stop and remove discourse container if it exist"
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: "{{ discourse_container }}"
|
||||
state: absent
|
||||
register: container_action
|
||||
|
Reference in New Issue
Block a user