1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Ansible output more understandable

This commit is contained in:
A Holt 2017-11-19 23:20:39 -05:00 committed by GitHub
parent ab36c02a47
commit 6b2492f84f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,9 @@
- name: Download the latest stable version of Sugarizer from location under our control
- name: Download latest stable Sugarizer from location under our control
get_url:
url: "{{ iiab_download_url }}/{{ sugarizer_version }}.tar.gz"
dest: "{{ downloads_dir }}/{{ sugarizer_version }}.tar.gz"
- name: Untar it to target location
- name: Untar to /library/www/html/{{ sugarizer_version }}
unarchive:
src: "{{ downloads_dir }}/{{ sugarizer_version }}.tar.gz"
dest: "{{ sugarizer_location }}"
@ -11,7 +11,7 @@
# command: tar xzf {{ downloads_dir }}/{{ sugarizer_version }}.tar.gz -C {{ sugarizer_location }}
# creates="{{ sugarizer_location }}/{{ sugarizer_version }}/index.html"
- name: Create a symbolic link from generic url to version specific location
- name: Create symbolic link /library/www/html/sugarizer
file:
src: "{{ sugarizer_location }}/{{ sugarizer_version }}"
dest: "{{ sugarizer_location }}/sugarizer"
@ -96,7 +96,7 @@
- { name: sugarizer }
when: not sugarizer_enabled
- name: Add 'sugarizer' to service list
- name: Add 'sugarizer' to service list in /etc/iiab/iiab.ini
ini_file:
dest: "{{ service_filelist }}"
section: sugarizer