File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ to manage QubesOS virtual machines. The files are installed into the Ansible mod
1616Ansible can automatically discover and use them. This package is intended to be installed in dom0
1717(or a management qube).
1818
19+ %package tests
20+ Summary: Tests for the module and the connection.
21+ Requires: %{name}
22+ Requires: pytest
23+
1924%prep
2025%autosetup
2126
@@ -25,15 +30,21 @@ Ansible can automatically discover and use them. This package is intended to be
2530rm -rf %{buildroot}
2631%{__mkdir} -p %{buildroot}%{_datadir}/ansible/plugins/modules
2732%{__mkdir} -p %{buildroot}%{_datadir}/ansible/plugins/connection
33+ %{__mkdir} -p %{buildroot}%{_datadir}/ansible/tests
2834
2935# Install the qubesos module and qubes connection plugin
3036install -m 644 plugins/modules/qubesos.py %{buildroot}%{_datadir}/ansible/plugins/modules/qubesos.py
3137install -m 644 plugins/connection/qubes.py %{buildroot}%{_datadir}/ansible/plugins/connection/qubes.py
3238
39+ install -m 644 tests/*.py %{buildroot}%{_datadir}/ansible/tests/
40+
3341%files
3442%doc README.md LICENSE EXAMPLES.md
3543%{_datadir}/ansible/plugins/modules/qubesos.py
3644%{_datadir}/ansible/plugins/connection/qubes.py
3745
46+ %files tests
47+ %{_datadir}/ansible/tests/*.py
48+
3849%changelog
39- @CHANGELOG@
50+ @CHANGELOG@
You can’t perform that action at this time.
0 commit comments