playbook de preparation
This commit is contained in:
15
dokuwiki.yml
Normal file
15
dokuwiki.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: get and extract archive
|
||||||
|
ansible.builtin.unarchive:
|
||||||
|
src: https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz
|
||||||
|
dest: /var/www/html/
|
||||||
|
remote_src: true
|
||||||
|
owner: apache
|
||||||
|
- name: symlink
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: /var/www/html/dokuwiki-2025-05-14b
|
||||||
|
dest: /var/www/html/dokuwiki
|
||||||
|
state: link
|
||||||
|
owner: apache
|
||||||
Reference in New Issue
Block a user