mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 09:41:57 +00:00
27 lines
511 B
YAML
27 lines
511 B
YAML
---
|
|
# Set up Weave Net.
|
|
|
|
- name: install weave net
|
|
get_url:
|
|
url: https://git.io/weave
|
|
dest: /usr/local/bin/weave
|
|
mode: 0555
|
|
|
|
- name: stop weave net
|
|
command: /usr/local/bin/weave stop
|
|
|
|
- name: start weave net
|
|
command: /usr/local/bin/weave launch
|
|
|
|
- name: get weave net's status
|
|
command: /usr/local/bin/weave status
|
|
changed_when: false
|
|
register: weave_status
|
|
tags:
|
|
- output
|
|
|
|
- name: print outpout of `weave status`
|
|
debug: msg="{{ weave_status.stdout_lines }}"
|
|
tags:
|
|
- output
|