Sha256: 1b168ec618d1c0b513dd583ac3d565a4780ba8375119e2231c6a93bf3f9b10db

Contents?: true

Size: 1.75 KB

Versions: 15

Compression:

Stored size: 1.75 KB

Contents

---
- name: PREPARE TESTING localhost entries for test #only for testing with Vagrant, remove for real usages
  hosts: supervision_master
  become: yes
  tasks:
  - lineinfile:
      path: /etc/hosts
      regexp: '^127\.0\.0\.1'
      line: "127.0.0.1 localhost {{ groups['backend'][0] }} {{ groups['mq'][0] }} {{ groups['splash_nodes'][0] }} {{ groups['supervision_master'][0] }} {{ groups['supervision_gateway'][0] }}"
      owner: root
      group: root
      mode: '0644'
    when: patch_etc_hosts
  - lineinfile:
      path: /etc/hosts
      state: absent
      regexp: '^127\.0\.1\.1'
    when: patch_etc_hosts

- name: PREPARE packages
  hosts: supervision_master #for real usage => precise all
  become: yes
  tasks:
  - apt:
      update_cache: yes
      force_apt_get: yes
      cache_valid_time: 3600
      pkg:
      - python-apt
      - screen
      - emacs-nox
      - htop



- name: Deploy RabbitMQ
  become: yes
  hosts: mq
  tasks:
  - apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
  - include_role:
      name: mq
    when: install_mq

- name:  Deploy Backend
  become: yes
  hosts: backend
  tasks:
  - apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
  - include_role:
      name: backend
    when: install_backend

- name: Deploy Supervision Master
  become: yes
  hosts: supervision_master
  tasks:
  - apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
  roles:
    - supervision_master

- name: Deploy Supervision Gateway
  become: yes
  hosts: supervision_gateway
  tasks:
  - apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
  roles:
    - supervision_gateway

- name: Deploy Splash
  become: yes
  hosts: splash_nodes
  tasks:
  - apt: update_cache=yes force_apt_get=yes cache_valid_time=3600
  roles:
    - splash

Version data entries

15 entries across 15 versions & 1 rubygems

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