naftulikay / ansible-role-degoss

An Ansible role for installing, running, and removing Goss from a system without leaving any traces.
Other
42 stars 12 forks source link

Copy goss binaries to remote host #55

Closed SamuelMwangiW closed 3 years ago

SamuelMwangiW commented 3 years ago

Kindly review this PR for a possible fix to #54

SamuelMwangiW commented 3 years ago

Default behavior is preserved. To download goss binaries locally to the Ansible control host, you may follow the official method or run: ansible-pull -U https://github.com/naftulikay/ansible-role-degoss/ Sample playbook where goss_binary_dir is the local directory that has the dgoss and goss binaries:


---
- hosts: all
  become: yes

  vars:
    goss_copy_host_binaries: true
    goss_binary_dir: /usr/local/bin/

  roles:
    - role: ansible-role-degoss
      goss_file: goss.yml
SamuelMwangiW commented 3 years ago

For some reason, TravisCI did not submit status but build was successful https://travis-ci.org/github/naftulikay/ansible-role-degoss/builds/736393420

naftulikay commented 3 years ago

Thanks for your contribution @SamuelMwangiW. I'll reply with design guidance on the source issue (#54).

SamuelMwangiW commented 3 years ago

Thanks for your contribution @SamuelMwangiW. I'll reply with design guidance on the source issue (#54).

Cool