mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
symbolic link updating fixed (removed conditional, Ansible approach)
This commit is contained in:
parent
23990aa939
commit
b516408078
1 changed files with 9 additions and 2 deletions
|
@ -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