aboutsummaryrefslogtreecommitdiff
path: root/ansible/nova.yml
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-03-02 10:01:17 +0100
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-03-02 10:01:17 +0100
commit266fd61ad727e55cd68fed118daf34cf24ac0383 (patch)
treef3e982a050c6ec518f59a2af77d607e1139103e0 /ansible/nova.yml
parent9995f2d89d980f5bf4bac044d7791122f38bc277 (diff)
downloadkolla-ansible-266fd61ad727e55cd68fed118daf34cf24ac0383.tar.gz
kolla-ansible-266fd61ad727e55cd68fed118daf34cf24ac0383.zip
Use "name:" instead of "role:" for *_role modules
Both include_role and import_role expect role's name to be given via "name" param instead of "role". This worked but caused errors with ansible-lint. See: https://review.opendev.org/694779 Change-Id: I388d4ae27111e430d38df1abcb6c6127d90a06e0
Diffstat (limited to 'ansible/nova.yml')
-rw-r--r--ansible/nova.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/ansible/nova.yml b/ansible/nova.yml
index 311a0bb69..bab698399 100644
--- a/ansible/nova.yml
+++ b/ansible/nova.yml
@@ -194,7 +194,7 @@
serial: '{{ kolla_serial|default("0") }}'
tasks:
- import_role:
- role: nova-cell
+ name: nova-cell
tasks_from: reload
when:
- enable_nova | bool
@@ -236,7 +236,7 @@
serial: '{{ kolla_serial|default("0") }}'
tasks:
- import_role:
- role: nova
+ name: nova
tasks_from: online_data_migrations
when:
- enable_nova | bool
@@ -259,7 +259,7 @@
serial: '{{ kolla_serial|default("0") }}'
tasks:
- import_role:
- role: nova-cell
+ name: nova-cell
tasks_from: online_data_migrations
when:
- enable_nova | bool