Compare commits
No commits in common. "f8e3eabb9d0e715c69bc60bfea315b262039ebb0" and "5981b67dd9f51fdf94815c098d7a3ba3a284df93" have entirely different histories.
f8e3eabb9d
...
5981b67dd9
@ -1,16 +1,11 @@
|
||||
---
|
||||
- name: installation php et apache ...
|
||||
apt:
|
||||
name:
|
||||
- apache2
|
||||
- php
|
||||
- php-mbstring
|
||||
- php-mysql
|
||||
- mariadb-client
|
||||
state: present
|
||||
---
|
||||
- name: creation repertoir
|
||||
file:
|
||||
path: /home/
|
||||
state: directory
|
||||
- name: download and extract wordpress
|
||||
unarchive:
|
||||
src: https://fr.wordpress.org/latest-fr_FR.tar.gz
|
||||
src: "{{ depl_url }}/{{ depl_wordpress }}"
|
||||
dest: /home/
|
||||
remote_src: yes
|
||||
owner: www-data
|
||||
@ -30,3 +25,14 @@
|
||||
recurse: yes
|
||||
owner: 33
|
||||
group: 33
|
||||
|
||||
# - name: Fix permissions
|
||||
# shell: chown -R www-data /var/www/wordpress/*
|
||||
#
|
||||
# - name: Update default Apache site
|
||||
# lineinfile:
|
||||
# dest=/etc/apache2/sites-enabled/000-default.conf
|
||||
# regexp="(.)+DocumentRoot /var/www/html"
|
||||
# line="DocumentRoot /var/www/wordpress"
|
||||
# notify:
|
||||
# - restart apache2
|
||||
|
Loading…
x
Reference in New Issue
Block a user