35 lines
700 B
YAML
35 lines
700 B
YAML
---
|
|
#- name: Install prod/test
|
|
- hosts: all
|
|
become: true
|
|
|
|
tasks:
|
|
- name: Parametrage Timezone Europe/Paris
|
|
community.general.timezone:
|
|
name: Europe/Paris
|
|
|
|
- name: Copie apt.conf
|
|
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: Update and upgrade apt packages
|
|
apt:
|
|
upgrade: yes
|
|
update_cache: yes
|
|
cache_valid_time: 86400 #One day
|
|
|
|
|
|
- name: Installation paquets
|
|
apt:
|
|
name: "{{ item }}"
|
|
state: present
|
|
with_items:
|
|
- tomcat10
|
|
- mariadb-server
|
|
- ant
|
|
- qemu-guest-agent
|
|
|