aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2019-01-19 08:17:10 +0000
committerMark Goddard <mark@stackhpc.com>2019-09-16 12:48:52 +0000
commitaf2e7fd73e2fa643dbe1a0c8cc31d3aa4165720d (patch)
tree1207aac3e10f8db370c4c8466071ea4fa73e7758 /tests
parent8c8adb0e4543f14c3d1727013cb4dfc0cc322975 (diff)
downloadkolla-ansible-af2e7fd73e2fa643dbe1a0c8cc31d3aa4165720d.tar.gz
kolla-ansible-af2e7fd73e2fa643dbe1a0c8cc31d3aa4165720d.zip
Add custom filters for checking services
These filters can be used to capture a lot of the logic that we currently have in 'when' statements, about which services are enabled for a particular host. In order to use these filters, it is necessary to install the kolla_ansible python module, and not just the dependencies listed in requirements.txt. The CI test and quickstart install from source documentation has been updated accordingly. Ansible is not currently in OpenStack global requirements, so for unit tests we avoid a direct dependency on Ansible and provide fakes where necessary. Change-Id: Ib91cac3c28e2b5a834c9746b1d2236a309529556
Diffstat (limited to 'tests')
-rw-r--r--tests/run.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/run.yml b/tests/run.yml
index 83477800f..a95956721 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -133,9 +133,9 @@
dest: ironic-agent.kernel
when: scenario == "ironic"
- - name: install kolla-ansible requirements
+ - name: install kolla-ansible
pip:
- requirements: "{{ kolla_ansible_src_dir }}/requirements.txt"
+ name: "{{ kolla_ansible_src_dir }}"
become: true
- name: copy passwords.yml file
@@ -311,9 +311,9 @@
when: "{{ is_ceph }}"
when: item.when | default(true)
- - name: upgrade kolla-ansible requirements
+ - name: upgrade kolla-ansible
pip:
- requirements: "{{ kolla_ansible_src_dir }}/requirements.txt"
+ name: "{{ kolla_ansible_src_dir }}"
become: true
# Update passwords.yml to include any new passwords added in this