ansible dbb
This commit is contained in:
18
Partie2/ansible/apbase.yml
Normal file
18
Partie2/ansible/apbase.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- name: install ap et bd
|
||||
#hosts: ap31-prod, ap31-test
|
||||
#hosts: ap31-prodt
|
||||
hosts: all
|
||||
# become_method: sudo
|
||||
# remote_user: debian
|
||||
become: yes
|
||||
|
||||
tasks:
|
||||
- name: install apache2, php, mariadb-server, python3-pymysql
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- apache2
|
||||
- php
|
||||
- mariadb-server
|
||||
- python3-pymysql
|
||||
state: present
|
||||
Reference in New Issue
Block a user