[#62] Standardize yaml file extensions
Currently we have mixed extensions of .yml and .yaml, this patch is an effort to standardize all yaml documents as .yaml Change-Id: I7eb815584de5856bbdac9a828ccad8518e8c1729
This commit is contained in:
parent
0501a3b919
commit
d5e28362f2
@ -19,8 +19,8 @@
|
||||
- airshipctl-systemwide-executable
|
||||
- airshipctl-test-configs
|
||||
var_files_default:
|
||||
- local-dev.yml
|
||||
- airship-ipam.yml
|
||||
- local-dev.yaml
|
||||
- airship-ipam.yaml
|
||||
- test-config.yaml
|
||||
|
||||
- name: read test variables
|
1
roles/airship-libvirt-gate/tasks/main.yaml
Normal file
1
roles/airship-libvirt-gate/tasks/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
- include_tasks: "{{ gate_action }}.yaml"
|
@ -1 +0,0 @@
|
||||
- include_tasks: "{{ gate_action }}.yml"
|
@ -1,6 +1,6 @@
|
||||
- name: Include test variables.
|
||||
include_vars:
|
||||
file: vars.yml
|
||||
file: vars.yaml
|
||||
|
||||
- name: deploy-gate
|
||||
include_role:
|
1
roles/http-fileserver/tasks/main.yaml
Normal file
1
roles/http-fileserver/tasks/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
- include_tasks: "{{ http_server_action }}.yaml"
|
@ -1 +0,0 @@
|
||||
- include_tasks: "{{ http_server_action }}.yml"
|
@ -1,6 +1,6 @@
|
||||
- name: Include test variables.
|
||||
include_vars:
|
||||
file: vars.yml
|
||||
file: vars.yaml
|
||||
|
||||
- name: ensure serve directory exists
|
||||
file:
|
@ -35,7 +35,7 @@ libvirt_vm_clock_offset: False
|
||||
# A list of specifications of VMs to be created.
|
||||
# For backwards compatibility, libvirt_vms defaults to a singleton list using
|
||||
# the values of the deprecated variables below.
|
||||
# See README.md or tasks/main.yml for these attributes' defaults.
|
||||
# See README.md or tasks/main.yaml for these attributes' defaults.
|
||||
libvirt_domain:
|
||||
# State of the VM. May be 'present' or 'absent'.
|
||||
state: "{{ libvirt_vm_state }}"
|
@ -9,7 +9,7 @@
|
||||
when: "libvirt_domain.console_log_enabled | default(false)"
|
||||
|
||||
- name: Validate VM interfaces
|
||||
include_tasks: check-interface.yml
|
||||
include_tasks: check-interface.yaml
|
||||
vars:
|
||||
interface: "{{ item }}"
|
||||
with_items: "{{ libvirt_domain.interfaces }}"
|
@ -1,6 +1,6 @@
|
||||
- include_tasks: autodetect.yml
|
||||
- include_tasks: autodetect.yaml
|
||||
|
||||
- include_tasks: domain.yml
|
||||
- include_tasks: domain.yaml
|
||||
vars:
|
||||
console_log_enabled: "{{ libvirt_domain.console_log_enabled | default(false) }}"
|
||||
console_log_path: >-
|
||||
|
@ -1,6 +1,6 @@
|
||||
- name: Include test variables.
|
||||
include_vars:
|
||||
file: vars.yml
|
||||
file: vars.yaml
|
||||
- name: install libvirt
|
||||
include_role:
|
||||
name: libvirt-install
|
@ -1 +1 @@
|
||||
- include_tasks: "{{ network_action }}.yml"
|
||||
- include_tasks: "{{ network_action }}.yaml"
|
||||
|
@ -12,6 +12,6 @@
|
||||
}}
|
||||
|
||||
- name: "create network"
|
||||
include_tasks: "{{ network_action }}.yml"
|
||||
include_tasks: "{{ network_action }}.yaml"
|
||||
vars:
|
||||
network_action: create
|
||||
|
@ -1,6 +1,6 @@
|
||||
- name: Include test variables.
|
||||
include_vars:
|
||||
file: vars.yml
|
||||
file: vars.yaml
|
||||
- name: install libvirt
|
||||
include_role:
|
||||
name: libvirt-install
|
1
roles/libvirt-pool/tasks/main.yaml
Normal file
1
roles/libvirt-pool/tasks/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
- include_tasks: "{{ pool_action }}.yaml"
|
@ -1 +0,0 @@
|
||||
- include_tasks: "{{ pool_action }}.yml"
|
@ -1,6 +1,6 @@
|
||||
- name: Include test variables.
|
||||
include_vars:
|
||||
file: vars.yml
|
||||
file: vars.yaml
|
||||
- name: install libvirt
|
||||
include_role:
|
||||
name: libvirt-install
|
1
roles/libvirt-volume/tasks/main.yaml
Normal file
1
roles/libvirt-volume/tasks/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
- include_tasks: "{{ volume_action }}.yaml"
|
@ -1 +0,0 @@
|
||||
- include_tasks: "{{ volume_action }}.yml"
|
@ -1,6 +1,6 @@
|
||||
- name: Include test variables.
|
||||
include_vars:
|
||||
file: vars.yml
|
||||
file: vars.yaml
|
||||
- name: install libvirt
|
||||
include_role:
|
||||
name: libvirt-install
|
1
roles/redfish-emulator/tasks/main.yaml
Normal file
1
roles/redfish-emulator/tasks/main.yaml
Normal file
@ -0,0 +1 @@
|
||||
- include_tasks: "{{ redfish_action }}.yaml"
|
@ -1 +0,0 @@
|
||||
- include_tasks: "{{ redfish_action }}.yml"
|
@ -1,6 +1,6 @@
|
||||
- name: Include test variables.
|
||||
include_vars:
|
||||
file: vars.yml
|
||||
file: vars.yaml
|
||||
- name: install libvirt
|
||||
include_role:
|
||||
name: libvirt-install
|
@ -60,14 +60,14 @@
|
||||
- zuul: openstack/openstack-helm-infra
|
||||
pre-run:
|
||||
- playbooks/airship-airshipctl-deploy-docker.yaml
|
||||
run: playbooks/airship-airshipctl-test-runner.yml
|
||||
post-run: playbooks/airship-collect-logs.yml
|
||||
run: playbooks/airship-airshipctl-test-runner.yaml
|
||||
post-run: playbooks/airship-collect-logs.yaml
|
||||
nodeset: airship-airshipctl-single-node
|
||||
vars:
|
||||
site_name: test-bootstrap
|
||||
## var files are the files that are located at playbooks/vars directory
|
||||
var_files:
|
||||
- airship-ipam.yml
|
||||
- airship-ipam.yaml
|
||||
- test-config.yaml
|
||||
test_roles:
|
||||
- airshipctl-systemwide-executable
|
||||
|
Loading…
Reference in New Issue
Block a user