Ajout du playbook apbase.yml
This commit is contained in:
parent
4605916258
commit
a5b306b461
27
Ansible/apbase.yml
Normal file
27
Ansible/apbase.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
- 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
|
2
Ansible/hosts
Normal file
2
Ansible/hosts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[pt]
|
||||||
|
ap33-pt
|
Loading…
x
Reference in New Issue
Block a user