<commit_before># This playbook install leafletjs (http://leafletjs.com).
#
# Copyright (c) 2013 <NAME> <<EMAIL>>
#
# Licensed under CC BY 3.0. All rights reserved.
#
---
- name: create the directory for the javascript files
  file: path=/var/www/lighttpd/scripts
        mode=0755
        state=directory

- name: download the leafletjs zip archive
  get_url: url=http://leaflet-cdn.s3.amazonaws.com/build/leaflet-0.7.1.zip
           dest=/var/www/lighttpd/leaflet.zip
           mode=0644

- name: unpack the bootstrap archive
  command: /usr/bin/unzip -o /var/www/lighttpd/leaflet.zip -d /var/www/lighttpd/

- name: delete the leafletjs archive
  file: path=/var/www/lighttpd/leaflet.zip
        state=absent

- name: move the css file
  command: /usr/bin/mv /var/www/lighttpd/leaflet.css /var/www/lighttpd/css/leaflet.css<commit_msg>make sure that the css folder exists<commit_after># This playbook install leafletjs (http://leafletjs.com).
#
# Copyright (c) 2013 <NAME> <<EMAIL>>
#
# Licensed under CC BY 3.0. All rights reserved.
#
---
- name: create the directory for the javascript files
  file: path=/var/www/lighttpd/scripts
        mode=0755
        state=directory

- name: create the directory for the css files
  file: path=/var/www/lighttpd/css
        mode=0755
        state=directory

- name: download the leafletjs zip archive
  get_url: url=http://leaflet-cdn.s3.amazonaws.com/build/leaflet-0.7.1.zip
           dest=/var/www/lighttpd/leaflet.zip
           mode=0644

- name: unpack the bootstrap archive
  command: /usr/bin/unzip -o /var/www/lighttpd/leaflet.zip -d /var/www/lighttpd/

- name: delete the leafletjs archive
  file: path=/var/www/lighttpd/leaflet.zip
        state=absent

- name: move the css file
  command: /usr/bin/mv /var/www/lighttpd/leaflet.css /var/www/lighttpd/css/leaflet.css
{'fraction_non_alphanumeric': 0.12403951701427003, 'fraction_numerical': 0.021953896816684963, 'mean_word_length': 2.9630434782608694, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 15, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7025791', 'n_tokens_mistral': 670, 'n_tokens_neox': 634, 'n_words': 155}