Apply variable to task not the block
- use static import of role since dynamic is not required - apply variables to the task, not the block - remove block since it does not appear to be necessary Change-Id: I9cb0dd38c972ed0e81cbd7228490018d600eaa5c
This commit is contained in:
parent
84754fb794
commit
f6a6fb459a
@ -68,7 +68,6 @@ outputs:
|
|||||||
step_config: ''
|
step_config: ''
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
- name: Red Hat Subscription Management configuration
|
- name: Red Hat Subscription Management configuration
|
||||||
|
import_role:
|
||||||
|
name: redhat-subscription
|
||||||
vars: {get_attr: [RoleParametersValue, value, vars]}
|
vars: {get_attr: [RoleParametersValue, value, vars]}
|
||||||
block:
|
|
||||||
- include_role:
|
|
||||||
name: redhat-subscription
|
|
||||||
|
Loading…
Reference in New Issue
Block a user