27 lines
653 B
YAML
27 lines
653 B
YAML
---
|
|
- hosts: all
|
|
become: yes
|
|
tasks:
|
|
- name: changement de la timezone
|
|
timezone:
|
|
name: Europe/Paris
|
|
|
|
- name: configure le fichier apt.conf pour le proxy
|
|
copy:
|
|
content: |
|
|
Acquire::http::Proxy "http://10.121.38.1:8080";
|
|
Acquire::https::Proxy "http://10.121.38.1:8080";
|
|
dest: /etc/apt/apt.conf
|
|
|
|
- name: installation des paquets de tomcat10, ant et mariadb-server
|
|
apt:
|
|
name:
|
|
- tomcat10
|
|
- ant
|
|
- mariadb-server
|
|
state: present
|
|
|
|
- name: installation de qemu-guest-agent
|
|
apt:
|
|
name: qemu-guest-agent
|
|
state: present |