-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yml
More file actions
28 lines (25 loc) · 751 Bytes
/
Copy pathmain.yml
File metadata and controls
28 lines (25 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
# tasks for database engineer role
# probably wouldn't install any of the servers, but rather use them in podman containers
# I do however, want the client software for postgresql, mysql, redis, and mongodb (like mongosh)
- name: Install database clients and tools
become: true
ansible.builtin.dnf:
name:
- pgcli
- mycli
- valkey
- valkey-doc
state: present
# add repository for pgadmin4
- name: Add pgadmin4 repository
become: true
ansible.builtin.command:
cmd: dnf install -y https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-fedora-repo-2-1.noarch.rpm
- name: Install pgadmin4
become: true
ansible.builtin.dnf:
name:
- pgadmin4
- pgadmin4-desktop
state: present