forked from oVirt/ovirt-ansible-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathovirt-ansible-collection.spec.in
240 lines (200 loc) · 8.87 KB
/
ovirt-ansible-collection.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
%global namespace @NAMESPACE@
%global collectionname @NAME@
%global ansible_collections_dir ansible/collections/ansible_collections
Name: @PACKAGE_NAME@
Summary: Ansible collection to manage all ovirt modules and inventory
Version: @RPM_VERSION@
Release: @RPM_RELEASE@%{?release_suffix}%{?dist}
Source0: http://resources.ovirt.org/pub/src/@PACKAGE_NAME@/@PACKAGE_NAME@-@[email protected]
License: ASL 2.0 and GPLv3+
BuildArch: noarch
Url: http://www.ovirt.org
%if 0%{?rhel} == 9
Requires: ansible-core >= 2.11.0
%else
Requires: ansible >= 2.9.21
%endif
Requires: ovirt-imageio-client
Requires: python3-ovirt-engine-sdk4 >= 4.4.11
Requires: python3-netaddr
Requires: python3-jmespath
Requires: python3-passlib
Requires: qemu-img
Obsoletes: ovirt-ansible-cluster-upgrade
Obsoletes: ovirt-ansible-disaster-recovery
Obsoletes: ovirt-ansible-engine-setup
Obsoletes: ovirt-ansible-hosted-engine-setup
Obsoletes: ovirt-ansible-image-template
Obsoletes: ovirt-ansible-infra
Obsoletes: ovirt-ansible-manageiq
Obsoletes: ovirt-ansible-repositories
Obsoletes: ovirt-ansible-roles
Obsoletes: ovirt-ansible-shutdown-env
Obsoletes: ovirt-ansible-vm-infra
Provides: ovirt-ansible-cluster-upgrade
Provides: ovirt-ansible-disaster-recovery
Provides: ovirt-ansible-engine-setup
Provides: ovirt-ansible-hosted-engine-setup
Provides: ovirt-ansible-image-template
Provides: ovirt-ansible-infra
Provides: ovirt-ansible-manageiq
Provides: ovirt-ansible-repositories
Provides: ovirt-ansible-roles
Provides: ovirt-ansible-shutdown-env
Provides: ovirt-ansible-vm-infra
%description
This Ansible collection is to manage all ovirt modules and inventory
%prep
%setup -c -q
%build
%install
export PKG_DATA_DIR_ORIG=%{_datadir}/%{ansible_collections_dir}
export PKG_DATA_DIR=%{buildroot}$PKG_DATA_DIR_ORIG
export PKG_DOC_DIR=%{buildroot}%{_pkgdocdir}
sh build.sh install %{collectionname}
%files
%{_datadir}/%{ansible_collections_dir}/%{namespace}
%if "%{collectionname}" == "rhv"
%{_datadir}/%{ansible_collections_dir}/ovirt
%endif
%doc README.md
%doc examples/
%license licenses
%changelog
* Fri Nov 26 2021 Martin Necas <[email protected]> - 1.6.6-1
- ovirt_remove_stale_lun - Allow user to remove multiple LUNs
- ovirt_remove_stale_lun - Retry "multipath -f" while removing the LUNs
- manageiq - Add deprecation info
- info - Enable follow parameter
- info - bump deprecate version for fetch_nested and nested_attributes
- info - Rename follows to follow parameter and add alias
* Tue Oct 19 2021 Martin Necas <[email protected]> - 1.6.5-1
- repositories - Update host and engine repositories to 4.4.9
* Mon Sep 27 2021 Martin Necas <[email protected]> - 1.6.4-1
- repositories - Add no_log to redhat_subscription
* Tue Sep 21 2021 Martin Necas <[email protected]> - 1.6.3-1
- repositories - Replace redhat_subscription and rhsm_repository with command
- gluster_heal_info - Replacing gluster module to CLI to support RHV automation hub
- image_template - Remove static no - unsupported in ansible 2.12
* Thu Aug 26 2021 Martin Necas <[email protected]> - 1.6.2-1
- remove_stale_lun - Fix example for `remote_stale_lun` role to be able to run it from engine
* Wed Aug 25 2021 Martin Necas <[email protected]> - 1.6.1-1
- ovirt_auth - Fix no_log token issue
- hosted_engine_setup - Use default bridge for IPv6 advertisements
* Wed Aug 11 2021 Martin Necas <[email protected]> - 1.6.0-1
- remove_stale_lun - Add role for removing stale LUN
- readme - Update Ansible requirement
- ovirt_disk - Fix update_check with no VM
- ovirt_auth - Fix password and username requirements
- engine_setup - Wait for webserver up after engine-config reboot
- hosted_engine_setup - Update Ansible requirements in README
- hosted_engine_setup - Pause deployment on failure of 'engine-backup --mode=restore'
- hosted_engine_setup - Text change - Consistently use 'bootstrap engine VM'
- hosted_engine_setup - Align with ansible-lint 5.0.0
* Thu Jul 22 2021 Martin Necas <[email protected]> - 1.5.4-1
- hosted_engine_setup - Allow FIPS on HE VM
- hosted_engine_setup - remove duplicate tasks
- hosted_engine_setup - Use forward network during an IPv6 deployment
- ovirt_permission - fix group search that has space in it's name
* Fri Jun 25 2021 Martin Necas <[email protected]> - 1.5.3-1
- disaster_recovery - Don't rely on safe_eval being able to do math/concat
- hosted_engine_setup - Minor doc update
- hosted_engine_setup - Fix engine vm add_host for the target machine
* Wed Jun 23 2021 Martin Necas <[email protected]> - 1.5.2-1
- ovirt_vm - Add default return value to check_placement_policy.
- hosted_engine_setup - Do not try to sync at end of full_execution.
* Thu Jun 17 2021 Martin Necas <[email protected]> - 1.5.1-1
- hosted_engine_setup - Filter VLAN devices with bad names
- ovirt_vm - Add placement_policy_hosts
- infra - Add external_provider parameter on networks role of infra role
- hosted_engine_setup - use-ansible-host
- hosted_engine_setup - Remove cloud-init configuration
- ovirt inventory plugin - allow several valid values for the `plugin` key
* Fri Jun 4 2021 Martin Necas <[email protected]> - 1.5.0-1
- ovirt_host - Update iscsi target struct
- infra - Storage fix parameters typo
- disaster_recovery - Change conf paths to relative paths
- hosted_engine_setup - Add pause option before engine-setup
- hosted_engine_setup - Align with ansible-lint 5.0.0
- hosted_engine_setup - Remove leftover code and omit parameters
- hosted_engine_setup - Use ovirt_host module to discover iscsi
* Fri Apr 23 2021 Martin Necas <[email protected]> - 1.4.2-1
- repositories - Add ppc host
- repositories - Remove ansible channels from RHV 4.4
- infra - Remove storage connection target usage
- hosted_engine_setup - Fix the appliance distribution
- hosted_engine_setup - Add an error message for FIPS on CentOS
- ovirt_vm - Allow cluster migration
* Mon Mar 22 2021 Martin Necas <[email protected]> - 1.4.1-1
- hosted_engine_setup - Fix auth revoke
* Tue Mar 16 2021 Martin Necas <[email protected]> - 1.4.0-1
- cluster_upgrade - Add correlation-id header
- engine_setup - Add skip renew pki confirm
- examples - Add recipe for removing DM device
- hosted_engine_setup - Filter devices with unsupported bond mode
- infra - Add reboot host parameters
- ovirt_disk - Add SATA support
- ovirt_user - Add ssh_public_key
- Set auth options into argument spec definition
* Wed Feb 10 2021 Martin Necas <[email protected]> - 1.3.1-1
- ovirt_host - Add reboot_after_installation option
- hosted_engine_setup - Disable reboot_after_installation
* Thu Jan 28 2021 Martin Necas <[email protected]> - 1.3.0-1
- ovirt_system_option_info - Add new module
- ansible-builder - Update bindep
- hosted_engine_setup - Collect all engine /var/log
- hosted_engine_setup - Use ovirt_system_option_info instead of REST API
- ovirt_disk - Add install warning
- ovirt_info - Fragment add auth suboptions to documentation
* Mon Dec 14 2020 Martin Necas <[email protected]> - 1.2.4-1
- infra - Allow remove of user without password
- inventory plugin - Correct os_type name
- ovirt_disk - automatically detect virtual size of qcow image
* Mon Nov 30 2020 Martin Necas <[email protected]> - 1.2.3-1
- Add hosted_engine_setup after_add_host hook
- Add engine_setup restore files
* Thu Nov 12 2020 Martin Perina <[email protected]> - 1.2.2-1
- inventory plugin - Fix Python 2 timestamp issue
- hosted_engine_setup - Clean VNC encryption config
- RPM packaging - Add Provides to previous oVirt Ansible roles RPMs to
minimize upgrade issues
* Mon Nov 2 2020 Martin Necas <[email protected]> - 1.2.1-1
- Split README for build and GitHub
- Add ovirt_repositories_disable_gpg_check to repositories
* Tue Oct 27 2020 Martin Necas <[email protected]> - 1.2.0-1
- Fix ovirt_disk ignore moving of hosted engine disks
- Obsolete old roles
* Mon Oct 12 2020 Martin Necas <[email protected]> - 1.2.0-0.2
- Add role disaster_recovery
- Fix engine_setup yum.conf
- Fix hosted_engine_setup - Allow uppercase characters in mac address
* Mon Oct 12 2020 Martin Necas <[email protected]> - 1.2.0-0.2
- Add ovirt_vm_info current_cd
- Add ovirt_nic_info template
- Add ovirt_nic template_version
- Fix ovirt_disk move
- Fix ovirt inventory connection close
- Fix ovirt_vm rename q35_sea to q35_sea_bios
- Fix ovirt_vm template search
* Wed Sep 16 2020 Martin Necas <[email protected]> - 1.2.0-0.1
- Add role cluster_upgrade
- Add role engine_setup
- Add role vm_infra
- Add role infra
- Add role manageiq
- Add role hosted_engine_setup
- Add role image_template
- Add role shutdown_env
* Mon Aug 17 2020 Martin Necas <[email protected]> - 1.1.2-1
- Add ansible changelogs
* Wed Aug 12 2020 Martin Necas <[email protected]> - 1.1.1-1
- Fix ovirt_permission FQCNs
* Wed Aug 12 2020 Martin Necas <[email protected]> - 1.1.0-1
- Add ovirt_vm_os_info module
- Add ovirt_disk backup
- Add ovirt_disk autodetect size when uploading
- Add ovirt_host add ssh_port
- Add ovirt_network support of removing vlan_tag
- Fix ovirt_disk upload
* Thu Apr 9 2020 Martin Necas <[email protected]> - 1.0.0-1
- Initial release