import_role takes name as a parameter, not role.

According to ansible documentation[1] the import_role task uses 'name'
as a parameter for import_role, not 'role'.

[1] https://docs.ansible.com/ansible/2.4/import_role_module.html

Change-Id: Ibda367ed44eb9ddca04c266f5c40134f10dfe945
Closes-Bug: #1797412
This commit is contained in:
Sofer Athlan-Guyot 2018-10-11 17:55:02 +02:00
parent 0fd44e4713
commit c8c45bec6a
4 changed files with 4 additions and 4 deletions

View File

@ -195,7 +195,7 @@ outputs:
host_prep_tasks:
- name: load iscsi_tcp module
import_role:
role: tripleo-module-load
name: tripleo-module-load
vars:
modules:
- name: iscsi_tcp

View File

@ -107,7 +107,7 @@ outputs:
host_prep_tasks:
- name: load ip_vs module
import_role:
role: tripleo-module-load
name: tripleo-module-load
vars:
modules:
- name: ip_vs

View File

@ -89,7 +89,7 @@ outputs:
host_prep_tasks:
- name: load dm-multipath
import_role:
role: tripleo-module-load
name: tripleo-module-load
vars:
modules:
- name: dm-multipath

View File

@ -193,7 +193,7 @@ outputs:
- block:
- name: load openvswitch module
import_role:
role: tripleo-module-load
name: tripleo-module-load
vars:
modules:
- name: openvswitch