diff --git a/ansible.changes b/ansible.changes index 55a25ff..0bf3734 100644 --- a/ansible.changes +++ b/ansible.changes @@ -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 diff --git a/ansible.spec b/ansible.spec index 280e795..62c0920 100644 --- a/ansible.spec +++ b/ansible.spec @@ -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/