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
(cherry picked from commit f6a6fb459a
)
This commit is contained in:
parent
d482d68c62
commit
3f0ee886cb
|
@ -68,7 +68,6 @@ outputs:
|
|||
step_config: ''
|
||||
host_prep_tasks:
|
||||
- name: Red Hat Subscription Management configuration
|
||||
import_role:
|
||||
name: redhat-subscription
|
||||
vars: {get_attr: [RoleParametersValue, value, vars]}
|
||||
block:
|
||||
- include_role:
|
||||
name: redhat-subscription
|
||||
|
|
Loading…
Reference in New Issue