Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Commit

Permalink
Update the packaging
Browse files Browse the repository at this point in the history
Change-Id: Ib63ce65a7ab7d4aa2f2218c29cb67bd338de21f7
Signed-off-by: Ondra Machacek <[email protected]>
  • Loading branch information
machacekondra committed Nov 15, 2017
1 parent b89c1f3 commit 3874e0b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 51 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The `ovirt-cluster-upgrade` role iterates through all the hosts in a cluster and
Requirements
------------

* Ansible version 2.3 or higher
* Ansible version 2.4 or higher
* Python SDK version 4 or higher

Role Variables
Expand Down
1 change: 0 additions & 1 deletion automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ distros:
- el7
release_branches:
master: ovirt-master
ovirt-ansible-1.0: ovirt-4.1
7 changes: 3 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@ install() {
echo "Installing data..."
mkdir -p $PKG_DATA_DIR
mkdir -p $PKG_DOC_DIR

# Create a symlink, so legacy role name does work:
ln -f -s $PKG_DATA_DIR_ORIG $ROLENAME_LEGACY

cp -pR defaults/ $PKG_DATA_DIR
cp -pR library/ $PKG_DATA_DIR
cp -pR tasks/ $PKG_DATA_DIR

cp -pR examples/ $PKG_DOC_DIR
cp -p LICENSE $PKG_DOC_DIR
cp -p README.md $PKG_DOC_DIR

echo "Installation done."
}

Expand Down
7 changes: 3 additions & 4 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ galaxy_info:

license: Apache License 2.0

min_ansible_version: 2.2
min_ansible_version: 2.4

platforms:
- name: EL
versions:
- 7
- all
- name: Fedora
versions:
- 24
- 25
- all

galaxy_tags: [ovirt, rhv, rhev, virtualization]

Expand Down
6 changes: 3 additions & 3 deletions ovirt-ansible-cluster-upgrade.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ sh build.sh install
%{_datadir}/%{ansible_roles_dir}/%{roleprefix}%{rolename}
%{_datadir}/%{ansible_roles_dir}/%{roleprefix_legacy}%{rolename}

%doc %{_pkgdocdir}/README.md
%doc %{_pkgdocdir}/examples/*yml
%doc README.md
%doc examples/

%license %{_pkgdocdir}/LICENSE
%license LICENSE

%changelog
* Thu Nov 16 2017 Ondra Machacek <[email protected]> - 1.0.0-0
Expand Down
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

35 changes: 0 additions & 35 deletions version.mak

This file was deleted.

0 comments on commit 3874e0b

Please sign in to comment.