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.
 
 
 

15 lines
645 B

- name: Check BBBs
hosts: bigbluebutton
remote_user: root
become: no
tasks:
- name: Run BBB status check
command: /usr/bin/bbb-conf --status
register: status
changed_when: status.stdout_lines | length != 13 or status.stdout is search('inactive') or status.stdout is search('failed')
- name: show output
debug:
msg: "{{ status.stdout_lines }}"
when: status.stdout_lines | length != 13 or status.stdout is search('inactive') or status.stdout is search('failed')
failed_when: status.stdout_lines | length != 13 or status.stdout is search('inactive') or status.stdout is search('failed')