You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
435 B

---
- name: application service status
command: "service {{service}} status"
changed_when: false
register: status
- name: Result
debug: var=status.stdout_lines
#- name: tendermint service status
# when: service != 'tendermint'
# command: "service {{service}}-server status"
# changed_when: false
# register: tendermintstatus
#- name: Result
# when: service != 'tendermint'
# debug: var=tendermintstatus.stdout_lines