~charmers/charms/trusty/elasticsearch/trunk

« back to all changes in this revision

Viewing changes to playbook.yaml

  • Committer: Matt Bruzek
  • Date: 2014-08-19 16:47:21 UTC
  • mfrom: (30.1.8 firewall-admin-interface)
  • Revision ID: matthew.bruzek@canonical.com-20140819164721-81hw06goen30psai
[michael.nelson] Adding ufw support to elasticsearch.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    - name: Restart ElasticSearch
11
11
      service: name=elasticsearch state=restarted
12
12
 
 
13
  vars:
 
14
    - service_name: "{{ local_unit.split('/')[0] }}"
 
15
    - client_relation_id: "{{ relations['client'].keys()[0] | default('') }}"
 
16
 
13
17
  tasks:
14
18
 
15
19
    - include: tasks/install-elasticsearch.yml
 
20
    - include: tasks/setup-ufw.yml
 
21
      tags:
 
22
        - install
 
23
        - upgrade-charm
 
24
        - client-relation-joined
 
25
        - client-relation-departed
16
26
    - include: tasks/peer-relations.yml
17
27
 
18
28
    - name: Update configuration