Project

General

Profile

Actions

Bug #23891

closed

Community Job Templates are not assigned to all orgs by default

Added by Marek Hulán over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Target version:
-
Fixed in Releases:
Found in Releases:

Description

The problem is, we don't put seeded templates under any org/loc. Core does it for provisioning and ptables.

Description of problem:
When I try to run "Run ansible roles" for apply assigned roles, I get this error message

"ERF42-5962 [Foreman::Exception]: No template mapped to feature Ansible: Run host roles"

Version-Release number of selected component (if applicable):
ansible-2.5.2-1.el7ae.noarch
tfm-rubygem-foreman_ansible-2.1.2.0.1-1.el7sat.noarch
tfm-rubygem-foreman_ansible_core-2.0.2-1.el7sat.noarch
rubygem-smart_proxy_ansible-2.0.2-3.el7sat.noarch
ansiblerole-insights-client-1.5-1.el7sat.noarch

The template has not been assigned to all organizations by default

How reproducible:
100%

Steps to Reproduce:
1. Import role to Sat6.4
2. Assign this role to host
3. Press button "Run ansible roles"

Actual results:
"ERF42-5962 [Foreman::Exception]: No template mapped to feature Ansible: Run host roles"

Expected results:
No error; the role will be apply to host


Related issues 2 (1 open1 closed)

Related to Foreman - Refactor #23939: Template "default" should cause templates to be seeded into all existing orgs and future onesNew06/14/2018Actions
Copied from Ansible - Bug #23742: Community Job Templates are not assigned to all orgs by defaultClosedMarek Hulán05/30/2018Actions
Actions

Also available in: Atom PDF