TomCat Playbook

This commit is contained in:
IDEZ Ugo
2021-12-14 09:44:34 +01:00
commit 971f16d426
18 changed files with 462 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
- name: update
apt:
update_cache: yes
ignore_errors: yes
- name: installer MariaDB Serveur
apt:
name: mariadb-server
state: latest
- name: installer mariadbclient
apt:
name: mariadb-client
state: latest
- name: installer python
apt:
name: python
state: latest
- name: demarrer mysql
service:
name: mysqld
state: started
enabled: yes
- name: creer la bdd
community.mysql.mysql_db:
name:
- sdis29
state: present
- name: creer l'utilisateur
mysql_user:
name: slam
password: Azerty1+
priv: *.*:ALL
host: 127.0.0.1
become: yes