mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
CI: cleanups leftovers things
include_vars is redundant as the file is already included by extra_vars
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
---
|
---
|
||||||
- name: Include custom vars for ci job
|
|
||||||
include_vars: "../files/{{ lookup('ansible.builtin.env', 'TESTCASE') }}.yml"
|
|
||||||
when: molecule_yml is not defined
|
|
||||||
|
|
||||||
- name: Generate SSH keypair
|
- name: Generate SSH keypair
|
||||||
community.crypto.openssh_keypair:
|
community.crypto.openssh_keypair:
|
||||||
size: 2048
|
size: 2048
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ fi
|
|||||||
run_playbook () {
|
run_playbook () {
|
||||||
playbook=$1
|
playbook=$1
|
||||||
shift
|
shift
|
||||||
# We can set --limit here and still pass it as supplemental args because `--limit` is a 'last one wins' option
|
|
||||||
ansible-playbook \
|
ansible-playbook \
|
||||||
-e @tests/common_vars.yml \
|
-e @tests/common_vars.yml \
|
||||||
-e @tests/files/${TESTCASE}.yml \
|
-e @tests/files/${TESTCASE}.yml \
|
||||||
|
|||||||
Reference in New Issue
Block a user