Sammlung von Shellscripten und Werkzeugen zur SuperX/BI Webanwendung
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.1 KiB

---
- name: Install SuperX dependencies
hosts: all
become: true
vars_files:
vars.yml
handlers:
- name: Start postgresql
ansible.builtin.service:
name: postgresql
state: restarted
tasks:
- name: Update repos and install dependencies.
ansible.builtin.apt:
name:
- tomcat9
- default-jre
- postgresql
- postgresql-contrib
- apache2
- libapache2-mod-jk
- git
- recode
- zip
- rsync
- s-nail
- curl
- dos2unix
- openjdk-11-jdk
- openjdk-17-jdk
- p7zip
- p7zip-full
state: present
update_cache: true
# install SuperX
- name: Ensure git is installed.
ansible.builtin.apt:
name: git
state: present
# postrgesql for SuperX
- name: Allow acces from localhost to Postgresql.
ansible.builtin.postgresql_pg_hba:
contype: host
users: all
databases: all
address: 127.0.0.1
method: trust
dest: /etc/postgresql/14/main/pg_hba.conf