mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #749 from holta/dokuwiki-2018-04-22
DokuWiki 2017-02-19e -> 2018-04-22
This commit is contained in:
commit
d50a2805e2
2 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
dokuwiki_url: /wiki
|
dokuwiki_url: /wiki
|
||||||
dokuwiki_install: True
|
dokuwiki_install: True
|
||||||
dokuwiki_enabled: False
|
dokuwiki_enabled: False
|
||||||
dokuwiki_version: "dokuwiki-2017-02-19e"
|
dokuwiki_version: "dokuwiki-2018-04-22"
|
||||||
|
|
|
@ -11,8 +11,15 @@
|
||||||
dest: /library
|
dest: /library
|
||||||
creates: "/library/{{ dokuwiki_version }}/VERSION"
|
creates: "/library/{{ dokuwiki_version }}/VERSION"
|
||||||
|
|
||||||
- name: Symlink /library/dokuwiki* to /library/dokuwiki
|
- name: Symlink /library/{{ dokuwiki_version }} from /library/dokuwiki
|
||||||
shell: if [ ! -d /library/dokuwiki ]; then ln -sf /library/{{ dokuwiki_version }} /library/dokuwiki; fi
|
#shell: if [ ! -d /library/dokuwiki ]; then ln -sf /library/{{ dokuwiki_version }} /library/dokuwiki; fi
|
||||||
|
#shell: ln -sf /library/{{ dokuwiki_version }} /library/dokuwiki
|
||||||
|
#BOTH LINES ABOVE FAIL TO UPDATE LINK; Ansible approach below works
|
||||||
|
file:
|
||||||
|
path: /library/dokuwiki
|
||||||
|
src: /library/{{ dokuwiki_version }}
|
||||||
|
state: link
|
||||||
|
force: yes
|
||||||
|
|
||||||
- name: Install config file for DokuWiki in Apache
|
- name: Install config file for DokuWiki in Apache
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue