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

  1. ---
  2. - name: application service status
  3. command: "service {{service}} status"
  4. changed_when: false
  5. register: status
  6. - name: Result
  7. debug: var=status.stdout_lines
  8. #- name: tendermint service status
  9. # when: service != 'tendermint'
  10. # command: "service {{service}}-server status"
  11. # changed_when: false
  12. # register: tendermintstatus
  13. #- name: Result
  14. # when: service != 'tendermint'
  15. # debug: var=tendermintstatus.stdout_lines