diff --git a/roles/test_operator/README.md b/roles/test_operator/README.md index a66df11c52..78451aafd9 100644 --- a/roles/test_operator/README.md +++ b/roles/test_operator/README.md @@ -186,6 +186,7 @@ Default value: {} * `cifmw_test_operator_ansibletest_compute_ssh_key_secret_name`: (String) The name of the k8s secret that contains an ssh key for computes. Default value: `dataplane-ansible-ssh-private-key-secret` * `cifmw_test_operator_ansibletest_workload_ssh_key_secret_name`: (String) The name of the k8s secret that contains an ssh key for the ansible workload. Default value: `""` * `cifmw_test_operator_ansibletest_ansible_git_repo`: (String) Git repo to clone into container. Default value: `""` +* `cifmw_test_operator_ansibletest_ansible_git_branch`: (String) Git branch to checkout from the repo. Default value: `""` * `cifmw_test_operator_ansibletest_ansible_playbook_path`: (String) Path to ansible playbook. Default value: `""` * `cifmw_test_operator_ansibletest_ansible_collection`: (String) Extra ansible collections to install in addition to the ones that exist in the requirements.yaml. Default value: `""` * `cifmw_test_operator_ansibletest_ansible_var_files`: (String) interface to create ansible var files. Default value: `""` @@ -212,6 +213,7 @@ Default value: {} computeSSHKeySecretName: "{{ cifmw_test_operator_ansibletest_compute_ssh_key_secret_name }}" workloadSSHKeySecretName: "{{ cifmw_test_operator_ansibletest_workload_ssh_key_secret_name }}" ansibleGitRepo: "{{ cifmw_test_operator_ansibletest_ansible_git_repo }}" + ansibleGitBranch: "{{ cifmw_test_operator_ansibletest_ansible_git_branch }}" ansiblePlaybookPath: "{{ cifmw_test_operator_ansibletest_ansible_playbook_path }}" ansibleCollections: "{{ cifmw_test_operator_ansibletest_ansible_collection }}" ansibleVarFiles: "{{ cifmw_test_operator_ansibletest_ansible_var_files }}" diff --git a/roles/test_operator/defaults/main.yml b/roles/test_operator/defaults/main.yml index ecfdc3b4fb..1bd2f11677 100644 --- a/roles/test_operator/defaults/main.yml +++ b/roles/test_operator/defaults/main.yml @@ -233,6 +233,7 @@ cifmw_test_operator_ansibletest_image_tag: "{{ cifmw_test_operator_default_image cifmw_test_operator_ansibletest_compute_ssh_key_secret_name: "dataplane-ansible-ssh-private-key-secret" cifmw_test_operator_ansibletest_workload_ssh_key_secret_name: "" cifmw_test_operator_ansibletest_ansible_git_repo: "" +cifmw_test_operator_ansibletest_ansible_git_branch: "" cifmw_test_operator_ansibletest_ansible_playbook_path: "" cifmw_test_operator_ansibletest_ansible_collection: "" cifmw_test_operator_ansibletest_ansible_var_files: "" @@ -260,6 +261,7 @@ cifmw_test_operator_ansibletest_config: computeSSHKeySecretName: "{{ stage_vars_dict.cifmw_test_operator_ansibletest_compute_ssh_key_secret_name }}" workloadSSHKeySecretName: "{{ stage_vars_dict.cifmw_test_operator_ansibletest_workload_ssh_key_secret_name }}" ansibleGitRepo: "{{ stage_vars_dict.cifmw_test_operator_ansibletest_ansible_git_repo }}" + ansibleGitBranch: "{{ stage_vars_dict.cifmw_test_operator_ansibletest_ansible_git_branch }}" ansiblePlaybookPath: "{{ stage_vars_dict.cifmw_test_operator_ansibletest_ansible_playbook_path }}" ansibleCollections: "{{ stage_vars_dict.cifmw_test_operator_ansibletest_ansible_collection }}" ansibleVarFiles: "{{ stage_vars_dict.cifmw_test_operator_ansibletest_ansible_var_files }}"