Fix the misspelling of "container"

Change-Id: I201ed221941df93ed61eac3f256e8a60a0534c9b
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
lijunjie 2019-01-23 16:22:20 +08:00 committed by Kevin Carter
parent 83bbe07057
commit defe320d86
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
4 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@
ANSIBLE_ROLES_PATH: "${HOME}/ansible_venv/repositories/roles"
vars:
inventory_file: "inventory/test-{{ (contianer_inventory | bool) | ternary('container', 'metal') }}-inventory.yml"
inventory_file: "inventory/test-{{ (container_inventory | bool) | ternary('container', 'metal') }}-inventory.yml"
pre_tasks:
- name: Create swap file
@ -122,7 +122,7 @@
chdir: "src/{{ current_test_repo }}/elk_metrics_6x/tests"
when:
- ansible_service_mgr != 'systemd' or
not (contianer_inventory | bool)
not (container_inventory | bool)
- name: Run environment setup
become: yes
@ -134,7 +134,7 @@
chdir: "src/{{ current_test_repo }}/elk_metrics_6x/tests"
when:
- ansible_service_mgr == 'systemd'
- contianer_inventory | bool
- container_inventory | bool
- name: Wait 15 seconds
command: "sleep 15"

View File

@ -44,7 +44,7 @@
- name: Set inventory for test
set_fact:
contianer_inventory: "{{ test_clustered_elk | default(false) | bool }}"
container_inventory: "{{ test_clustered_elk | default(false) | bool }}"
post_tasks:
- name: Ensure the log directory exists

View File

@ -31,7 +31,7 @@
ANSIBLE_ROLES_PATH: "${HOME}/ansible_venv/repositories/roles"
vars:
inventory_file: "inventory/test-{{ (contianer_inventory | bool) | ternary('container', 'metal') }}-inventory.yml"
inventory_file: "inventory/test-{{ (container_inventory | bool) | ternary('container', 'metal') }}-inventory.yml"
pre_tasks:
- name: Create swap file
@ -122,7 +122,7 @@
chdir: "src/{{ current_test_repo }}/osquery/tests"
when:
- ansible_service_mgr != 'systemd' or
not (contianer_inventory | bool)
not (container_inventory | bool)
- name: Run environment setup
become: yes
@ -134,7 +134,7 @@
chdir: "src/{{ current_test_repo }}/osquery/tests"
when:
- ansible_service_mgr == 'systemd'
- contianer_inventory | bool
- container_inventory | bool
- name: Wait 15 seconds
command: "sleep 15"

View File

@ -44,7 +44,7 @@
- name: Set inventory for test
set_fact:
contianer_inventory: "{{ test_clustered_kolide | default(false) | bool }}"
container_inventory: "{{ test_clustered_kolide | default(false) | bool }}"
post_tasks:
- name: Ensure the log directory exists