From 74f349ec484ccb956c7cc08e6ac55bef905db62a Mon Sep 17 00:00:00 2001 From: Chris Hambridge Date: Oct 09 2017 15:28:12 +0000 Subject: Updated to utilize Ansible 2.3.1.0 and an Ansible playbook and associate roles. Encryption of auth credential entries and network profile entries using a password and Ansible vault. Added additional error checking with associated messages and more user feedback on success. Added ability to create a network profile with a specified ssh port value. Added support for scans with sudo user both with and without password. Extracted fact information that can be obtaind during a scan into a new subcommand. Provided updated scan options to utilize Ansible. Capturing data in console and within a log file, additionally tying into the Ansible verbosity levels. Tune the number of concurrent ssh connections. Added the capability to hash values from within a generated report. --- diff --git a/.gitignore b/.gitignore index 0a17b32..2b42ecb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ rho-0.0.20.tar.gz /rho-0.0.28.tar.gz /rho-0.0.28-1.tar.gz /rho-0.0.28-2.tar.gz +/rho-0.0.28-3.tar.gz diff --git a/rho-0.0.28.tar.gz b/rho-0.0.28.tar.gz deleted file mode 100644 index 9959c33..0000000 Binary files a/rho-0.0.28.tar.gz and /dev/null differ diff --git a/rho.spec b/rho.spec index c670d8f..a399e97 100644 --- a/rho.spec +++ b/rho.spec @@ -2,30 +2,31 @@ Name: rho Version: 0.0.28 -Release: 2%{?dist} +Release: 3%{?dist} Summary: An SSH system profiler Group: Applications/Internet License: GPLv2 URL: http://github.com/quipucords/rho -Source0: http://chambridge.fedorapeople.org/rho/rho-0.0.28-2.tar.gz +Source0: http://chambridge.fedorapeople.org/rho/rho-0.0.28-3.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel -BuildRequires: python-setuptools +%{?fedora:BuildRequires: python2-setuptools} +%{?rhel:BuildRequires: python-setuptools} BuildRequires: pandoc Requires: python-netaddr -Requires: python-crypto +Requires: python2-crypto Requires: ansible Requires: pexpect Requires: python-six Requires: python-enum34 -Requires: python-yaml +Requires: PyYAML %{?rhel:Requires: epel-release} Requires: python2-future Requires: python2-sh -Requires: python2-pyxdg +Requires: pyxdg %description Rho is a tool for scanning your network, logging into systems via SSH, and @@ -36,7 +37,7 @@ retrieving information about them. %build %{__python} setup.py build -make docs +make manpage %install rm -rf $RPM_BUILD_ROOT @@ -63,7 +64,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/ansible/%{name}/roles/* %changelog -* Thu Sep 21 2017 Christopher Hambridge 0.0.28-2 +* Thu Sep 21 2017 Christopher Hambridge 0.0.28-3 - Updated to utilize Ansible 2.3.1.0 and an Ansible playbook and associate roles. - Encryption of auth credential entries and network profile entries using a diff --git a/sources b/sources index 8af23c1..b6ccb44 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rho-0.0.28-2.tar.gz) = d59a110379fcce369be315a39fab5d3eb5358a59235f5cc82b82cb7a68a54457f0eaed79f4cf20bdf2d4cb6a865e9d3a30cf0d0cc3a64878e911b11365d1cd8e +SHA512 (rho-0.0.28-3.tar.gz) = 6a3ae558f55e78446b4a052445aedcbcbb2e32fd4d75214820d6bc1682d7b2a3b32bbec104867925ba74f52687d7a971be30c316c97f96acd0f0312ab7995a55