class AnsibleCmdb < Formula desc "Generates static HTML overview page from Ansible facts" homepage "https://github.com/fboender/ansible-cmdb" url "https://github.com/fboender/ansible-cmdb/releases/download/1.26.1/ansible-cmdb-1.26.1.zip" sha256 "d26977ec026e5ba202c857f048802a9369bee21925f24fd2edde79bee8122c32" bottle :unneeded depends_on "python@2" depends_on "libyaml" def install prefix.install_metafiles man1.install "ansible-cmdb.man.1" => "ansible-cmdb.1" libexec.install Dir["*"] - ["Makefile"] bin.write_exec_script libexec/"ansible-cmdb" end test do system bin/"ansible-cmdb", "-dt", "html_fancy", "." end end