SioTP/Sio2/AP3/Ansible/apbase.yml
2023-01-04 14:26:11 +01:00

30 lines
526 B
YAML

---
- name: apbase
hosts: ap32
become: true
become_method: sudo
tasks:
- name: Ajout fichier apt.conf
copy:
src: apt.conf
dest: /etc/apt/apt.conf
- name: apt update & upgrade
apt:
update_cache: yes
upgrade: yes
- name: Installation des packets
apt:
name:
- apache2
- php
- php-mbstring
- php-mysql
- mariadb-server
- git
- python3-mysqldb
- python3-passlib
- python3-pymysql
state: present