Bug 1566392

Summary: Install roles into %{_datadir}
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: standard-test-rolesAssignee: Andrei Stepanov <astepano>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: astepano, mmathesi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-01 13:08:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vít Ondruch 2018-04-12 08:45:16 UTC
Description of problem:
Since the standard test roles are not configuration but a script (they are not intended to be modified by user), the should be installed into %{_datadir}. Ansible should support such location just fine [1]. The %{_sysconfdir} where they are located now is intended for user defined or user modifiable content.


Version-Release number of selected component (if applicable):
$ rpm -q standard-test-roles
standard-test-roles-2.9-1.fc29.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
$ rpm -ql standard-test-roles | grep /etc/ansible/roles | wc -l
75


Expected results:
$ rpm -ql standard-test-roles | grep /etc/ansible/roles | wc -l
0


Additional info:


[1] http://docs.ansible.com/ansible/devel/installation_guide/_config.html#default-roles-path

Comment 1 Andrei Stepanov 2018-04-13 11:28:06 UTC
Before there was a bug: https://github.com/ansible/ansible/pull/23038
Now we can move roles to right place.

Comment 2 Jan Kurik 2018-08-14 10:07:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 3 Ben Cotton 2019-10-31 20:53:55 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Vít Ondruch 2019-11-01 13:08:44 UTC
It seems that this was possible resolved by standard-test-roles-2.10-1.fc28.