Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more verification tests #11

Open
github-actions bot opened this issue Apr 8, 2021 · 0 comments
Open

add more verification tests #11

github-actions bot opened this issue Apr 8, 2021 · 0 comments

Comments

@github-actions
Copy link

github-actions bot commented Apr 8, 2021

add more tests here

# TODO add more tests here

---

# TODO add more tests here

- name: Verify
  hosts: all
  vars:
    role_path: ../../
  vars_files:
    - "{{ role_path }}/defaults/main.yml"
    - converge-vars.yml
  pre_tasks:
    - import_tasks: "{{ role_path }}/tasks/variables.yml"
  tasks:
    - name: Check http monitoring is on
      wait_for:
        port: 5067
      when: beats_flavor != 'winlogbeat'

    - name: Check filebeat modules are enabled
      stat:
        path: "{{ beats_filebeat_modules_dir }}/{{ _beats__filebeat_module }}.yml"
      loop: "{{ beats_filebeat_modules }}"
      loop_control:
        loop_var: _beats__filebeat_module
      when: beats_flavor == 'filebeat'
      register: _result
      failed_when: not _result.stat.exists | bool

53917ab22606242e51792b8d3a522b6fd446d301

@github-actions github-actions bot added the todo label Apr 8, 2021
@nkakouros nkakouros added the tests label Apr 8, 2021
@nkakouros nkakouros changed the title add more tests here add more verification tests Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant