Browse Source

Added status command

pull/1943/head
Greg Szabo 7 years ago
parent
commit
f38703a9f4
2 changed files with 13 additions and 0 deletions
  1. +5
    -0
      ansible/roles/status/tasks/main.yml
  2. +8
    -0
      ansible/status.yml

+ 5
- 0
ansible/roles/status/tasks/main.yml View File

@ -0,0 +1,5 @@
---
- name: start service
command: "service {{service}} status"

+ 8
- 0
ansible/status.yml View File

@ -0,0 +1,8 @@
---
#variable "service" is required
- hosts: "{{ lookup('env','TF_VAR_TESTNET_NAME') }}"
roles:
- status

Loading…
Cancel
Save