ilri / rmg-ansible-public

Ansible playbooks for ILRI research-computing infrastructure
GNU General Public License v3.0
8 stars 2 forks source link

Missing handler task to restart gmetad #3

Closed oguya closed 9 years ago

oguya commented 9 years ago

There's no handler task to restart gmetad in roles/ganglia/handlers/main.yml.

handler task file -> roles/ganglia/handlers/main.yml

    ---
    # file: roles/ganglia/handlers/main.yml
    - name: restart gmond
      service: name=gmond state=restarted

    # vim: set sw=2 ts=2:

ansible-playbook output

    $ ansible-playbook site.yml -K --limit=centos7 --tags=gmetad --check

    TASK: [ganglia | Install ganglia-gmetad package] ****************************** 
    ok: [centos7] => (item=ganglia-gmetad)

    TASK: [ganglia | Create gmetad configuration file] **************************** 
    changed: [centos7]
    ERROR: change handler (restart gmetad) is not defined