- include_vars: doxygen.yml - file: path={{ base }} state=directory owner=root group=root mode=0755 - stat: path={{ path }} register: doxygen ignore_errors: yes - get_url: url={{ url }} dest=/tmp/{{ archive }} when: doxygen.stat.exists == False - unarchive: src="/tmp/{{ archive }}" dest="/tmp" copy=no when: doxygen.stat.exists == False - command: mv "/tmp/doxygen-{{ version }}" "{{ path }}" when: doxygen.stat.exists == False - file: path={{ path }} state=directory owner=root group=root mode=0755 when: doxygen.stat.exists == False - file: force=yes state=link src="{{ path }}" dest="{{ latest }}" when: doxygen.stat.exists == False - file: force=yes state=link src="{{ latest }}/bin/doxygen" dest="/usr/local/bin/doxygen" when: doxygen.stat.exists == False - file: force=yes state=link src="{{ latest }}/bin/doxyindexer" dest="/usr/local/bin/doxyindexer" when: doxygen.stat.exists == False - command: rm /tmp/{{ archive }} when: doxygen.stat.exists == False