summaryrefslogtreecommitdiffstats
path: root/lib/ansible/playbooks
diff options
context:
space:
mode:
authorRicardo Noriega <rnoriega@redhat.com>2018-09-11 18:28:29 +0200
committerRicardo Noriega <rnoriega@redhat.com>2018-09-17 19:23:16 +0200
commit82bf9da27ea0c973068720d440e3391084e8a9d9 (patch)
tree2554a0d8b216ee12183b334afe193148783b3b9d /lib/ansible/playbooks
parent70cade4f8df150281c16e72d9234fa3751f097c8 (diff)
Fix per-network routes to NIC templates dependency
Change-Id: I9e01f1164fc72915b92dfb1c0aad7414c484567e Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Diffstat (limited to 'lib/ansible/playbooks')
-rw-r--r--lib/ansible/playbooks/configure_undercloud.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/configure_undercloud.yml b/lib/ansible/playbooks/configure_undercloud.yml
index 578ab13c..1fb2283b 100644
--- a/lib/ansible/playbooks/configure_undercloud.yml
+++ b/lib/ansible/playbooks/configure_undercloud.yml
@@ -81,6 +81,10 @@
shell: openstack-config --set /etc/nova/nova.conf DEFAULT {{ item }}
become: yes
with_items: "{{ nova_config }}"
+ - name: change nova filters
+ shell: openstack-config --set /etc/nova/nova.conf filter_scheduler {{ item }}
+ become: yes
+ with_items: "enabled_filters RetryFilter,TripleOCapabilitiesFilter,ComputeCapabilitiesFilter,AvailabilityZoneFilter,ComputeFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter"
- name: restart nova services
service:
name: "{{ item }}"