- create missing (empty) template and files directories for
'ansible-galaxy init' during package build (fixes boo#1137479) OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible?expand=0&rev=164
This commit is contained in:
parent
2670b75345
commit
01ffa71dfa
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 6 20:45:04 UTC 2020 - lars@linux-schulserver.de - 2.9.6
|
||||
|
||||
- create missing (empty) template and files directories for
|
||||
'ansible-galaxy init' during package build (fixes boo#1137479)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 5 08:23:57 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
||||
|
||||
|
@ -367,6 +367,9 @@ for location in $DATADIR_LOCATIONS ; do
|
||||
done
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ansible/
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ansible/roles/
|
||||
# fix for https://github.com/ansible/ansible/pull/24381
|
||||
# resp. https://bugzilla.opensuse.org/show_bug.cgi?id=1137479
|
||||
mkdir -p %{buildroot}%{python3_sitelib}/ansible/galaxy/data/default/role/{files,templates}
|
||||
|
||||
cp examples/hosts %{buildroot}%{_sysconfdir}/ansible/
|
||||
cp examples/ansible.cfg %{buildroot}%{_sysconfdir}/ansible/
|
||||
|
Loading…
Reference in New Issue
Block a user