Sha256: 104728ca49640b8577ceee6ec004791242204056093b8659e1c0f137af965370

Contents?: true

Size: 1.02 KB

Versions: 14

Compression:

Stored size: 1.02 KB

Contents

---
- name : SPLASH install infra (ruby)
  package:
    pkg: ruby
    state: present

- name : SPLASH install Splash (gem)
  gem:
    name: prometheus-splash
    state: present
    user_install: no

- name: SPLASH Check if setup done
  stat:
    path: /etc/splash.yml
  register: stat_result

- name: SPLASH Installation
  shell: splash conf set
  when: not stat_result.stat.exists

- name: SPLASH Configuration
  template:
    src: splash.yml.j2
    dest: /etc/splash.yml
    owner: root
    group: root
    mode: 0644
  notify: restart Splashd

- name: SPLASH Check if Systemd service installed
  stat:
    path: /etc/systemd/system/splashd.service
  register: stat_splash_result

- name: SPLASH Install systemd service
  shell: splash conf service
  when: not stat_splash_result.stat.exists

- name: SPLASH Splashd running
  service:
    name: splashd
    state: started
    enabled: yes

- name:  SPLASH LogRotate template
  template:
    src: logrotate.splash.j2
    dest: /etc/logrotate.d/splash
    owner: root
    group: root
    mode: 0644

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
prometheus-splash-0.9.1 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.9.0 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.8.6 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.8.5 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.8.4 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.8.3 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.8.2 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.8.1 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.8.0 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.7.0 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.6.1 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.6.0 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.5.3 templates/ansible-splash/roles/splash/tasks/main.yml
prometheus-splash-0.5.2 templates/ansible-splash/roles/splash/tasks/main.yml