From a624251bba08aa723d325ddd03d6d5846295ac61 Mon Sep 17 00:00:00 2001 From: Bikouo Aubin <79859644+abikouo@users.noreply.github.com> Date: Tue, 2 May 2023 19:01:04 +0200 Subject: [PATCH] CI - increase the number of integration workflow (#620) enable profile_tasks callback plugin for integration tests targets --- .github/workflows/ci.yml | 36 ++++++++++++++----- test-requirements.txt | 1 + tests/integration/targets/helm/playbook.yaml | 7 ++++ tests/integration/targets/helm/runme.sh | 5 +++ .../targets/helm_diff/playbook.yaml | 7 ++++ tests/integration/targets/helm_diff/runme.sh | 5 +++ .../targets/helm_kubeconfig/playbook.yaml | 7 ++++ .../targets/helm_kubeconfig/runme.sh | 5 +++ .../targets/helm_plugin/playbook.yaml | 7 ++++ .../integration/targets/helm_plugin/runme.sh | 5 +++ .../targets/helm_pull/playbook.yaml | 7 ++++ tests/integration/targets/helm_pull/runme.sh | 5 +++ .../targets/helm_repository/playbook.yaml | 7 ++++ .../targets/helm_repository/runme.sh | 5 +++ .../targets/helm_set_values/playbook.yaml | 7 ++++ .../targets/helm_set_values/runme.sh | 5 +++ .../targets/inventory_k8s/runme.sh | 1 + .../targets/k8s_access_review/playbook.yaml | 6 ++++ .../targets/k8s_access_review/runme.sh | 5 +++ .../targets/k8s_append_hash/playbook.yaml | 6 ++++ .../targets/k8s_append_hash/runme.sh | 5 +++ .../targets/k8s_apply/playbook.yaml | 6 ++++ tests/integration/targets/k8s_apply/runme.sh | 5 +++ .../targets/k8s_check_mode/playbook.yaml | 6 ++++ .../targets/k8s_check_mode/runme.sh | 5 +++ .../targets/k8s_cluster_info/playbook.yaml | 6 ++++ .../targets/k8s_cluster_info/runme.sh | 5 +++ .../targets/k8s_copy/playbook.yaml | 6 ++++ tests/integration/targets/k8s_copy/runme.sh | 5 +++ .../integration/targets/k8s_crd/playbook.yaml | 6 ++++ tests/integration/targets/k8s_crd/runme.sh | 5 +++ .../targets/k8s_delete/playbook.yaml | 6 ++++ tests/integration/targets/k8s_delete/runme.sh | 5 +++ .../targets/k8s_diff/playbook.yaml | 6 ++++ tests/integration/targets/k8s_diff/runme.sh | 5 +++ .../targets/k8s_drain/playbook.yaml | 6 ++++ tests/integration/targets/k8s_drain/runme.sh | 5 +++ .../targets/k8s_exec/playbook.yaml | 6 ++++ tests/integration/targets/k8s_exec/runme.sh | 5 +++ .../targets/k8s_full/playbook.yaml | 6 ++++ tests/integration/targets/k8s_full/runme.sh | 5 +++ .../integration/targets/k8s_gc/playbook.yaml | 6 ++++ tests/integration/targets/k8s_gc/runme.sh | 5 +++ .../targets/k8s_generate_name/playbook.yaml | 6 ++++ .../targets/k8s_generate_name/runme.sh | 5 +++ .../targets/k8s_info/playbook.yaml | 6 ++++ tests/integration/targets/k8s_info/runme.sh | 5 +++ .../targets/k8s_json_patch/playbook.yaml | 6 ++++ .../targets/k8s_json_patch/runme.sh | 5 +++ .../targets/k8s_label_selectors/playbook.yaml | 6 ++++ .../targets/k8s_label_selectors/runme.sh | 5 +++ .../targets/k8s_lists/playbook.yaml | 6 ++++ tests/integration/targets/k8s_lists/runme.sh | 5 +++ .../integration/targets/k8s_log/playbook.yaml | 6 ++++ tests/integration/targets/k8s_log/runme.sh | 5 +++ .../targets/k8s_manifest_url/playbook.yaml | 6 ++++ .../targets/k8s_manifest_url/runme.sh | 5 +++ .../targets/k8s_merge_type/playbook.yaml | 6 ++++ .../targets/k8s_merge_type/runme.sh | 5 +++ .../targets/k8s_patched/playbook.yaml | 6 ++++ .../integration/targets/k8s_patched/runme.sh | 5 +++ .../targets/k8s_rollback/playbook.yaml | 6 ++++ .../integration/targets/k8s_rollback/runme.sh | 5 +++ .../targets/k8s_scale/playbook.yaml | 6 ++++ tests/integration/targets/k8s_scale/runme.sh | 5 +++ .../targets/k8s_taint/playbook.yaml | 6 ++++ tests/integration/targets/k8s_taint/runme.sh | 5 +++ .../targets/k8s_template/playbook.yaml | 6 ++++ .../integration/targets/k8s_template/runme.sh | 5 +++ .../k8s_user_impersonation/playbook.yaml | 6 ++++ .../targets/k8s_user_impersonation/runme.sh | 5 +++ .../targets/k8s_validate/playbook.yaml | 6 ++++ .../integration/targets/k8s_validate/runme.sh | 5 +++ .../targets/k8s_waiter/playbook.yaml | 6 ++++ tests/integration/targets/k8s_waiter/runme.sh | 5 +++ .../targets/lookup_k8s/playbook.yaml | 6 ++++ tests/integration/targets/lookup_k8s/runme.sh | 5 +++ .../targets/lookup_kustomize/playbook.yaml | 6 ++++ .../targets/lookup_kustomize/runme.sh | 5 +++ 79 files changed, 455 insertions(+), 8 deletions(-) create mode 100644 tests/integration/targets/helm/playbook.yaml create mode 100755 tests/integration/targets/helm/runme.sh create mode 100644 tests/integration/targets/helm_diff/playbook.yaml create mode 100755 tests/integration/targets/helm_diff/runme.sh create mode 100644 tests/integration/targets/helm_kubeconfig/playbook.yaml create mode 100755 tests/integration/targets/helm_kubeconfig/runme.sh create mode 100644 tests/integration/targets/helm_plugin/playbook.yaml create mode 100755 tests/integration/targets/helm_plugin/runme.sh create mode 100644 tests/integration/targets/helm_pull/playbook.yaml create mode 100755 tests/integration/targets/helm_pull/runme.sh create mode 100644 tests/integration/targets/helm_repository/playbook.yaml create mode 100755 tests/integration/targets/helm_repository/runme.sh create mode 100644 tests/integration/targets/helm_set_values/playbook.yaml create mode 100755 tests/integration/targets/helm_set_values/runme.sh create mode 100644 tests/integration/targets/k8s_access_review/playbook.yaml create mode 100755 tests/integration/targets/k8s_access_review/runme.sh create mode 100644 tests/integration/targets/k8s_append_hash/playbook.yaml create mode 100755 tests/integration/targets/k8s_append_hash/runme.sh create mode 100644 tests/integration/targets/k8s_apply/playbook.yaml create mode 100755 tests/integration/targets/k8s_apply/runme.sh create mode 100644 tests/integration/targets/k8s_check_mode/playbook.yaml create mode 100755 tests/integration/targets/k8s_check_mode/runme.sh create mode 100644 tests/integration/targets/k8s_cluster_info/playbook.yaml create mode 100755 tests/integration/targets/k8s_cluster_info/runme.sh create mode 100644 tests/integration/targets/k8s_copy/playbook.yaml create mode 100755 tests/integration/targets/k8s_copy/runme.sh create mode 100644 tests/integration/targets/k8s_crd/playbook.yaml create mode 100755 tests/integration/targets/k8s_crd/runme.sh create mode 100644 tests/integration/targets/k8s_delete/playbook.yaml create mode 100755 tests/integration/targets/k8s_delete/runme.sh create mode 100644 tests/integration/targets/k8s_diff/playbook.yaml create mode 100755 tests/integration/targets/k8s_diff/runme.sh create mode 100644 tests/integration/targets/k8s_drain/playbook.yaml create mode 100755 tests/integration/targets/k8s_drain/runme.sh create mode 100644 tests/integration/targets/k8s_exec/playbook.yaml create mode 100755 tests/integration/targets/k8s_exec/runme.sh create mode 100644 tests/integration/targets/k8s_full/playbook.yaml create mode 100755 tests/integration/targets/k8s_full/runme.sh create mode 100644 tests/integration/targets/k8s_gc/playbook.yaml create mode 100755 tests/integration/targets/k8s_gc/runme.sh create mode 100644 tests/integration/targets/k8s_generate_name/playbook.yaml create mode 100755 tests/integration/targets/k8s_generate_name/runme.sh create mode 100644 tests/integration/targets/k8s_info/playbook.yaml create mode 100755 tests/integration/targets/k8s_info/runme.sh create mode 100644 tests/integration/targets/k8s_json_patch/playbook.yaml create mode 100755 tests/integration/targets/k8s_json_patch/runme.sh create mode 100644 tests/integration/targets/k8s_label_selectors/playbook.yaml create mode 100755 tests/integration/targets/k8s_label_selectors/runme.sh create mode 100644 tests/integration/targets/k8s_lists/playbook.yaml create mode 100755 tests/integration/targets/k8s_lists/runme.sh create mode 100644 tests/integration/targets/k8s_log/playbook.yaml create mode 100755 tests/integration/targets/k8s_log/runme.sh create mode 100644 tests/integration/targets/k8s_manifest_url/playbook.yaml create mode 100755 tests/integration/targets/k8s_manifest_url/runme.sh create mode 100644 tests/integration/targets/k8s_merge_type/playbook.yaml create mode 100755 tests/integration/targets/k8s_merge_type/runme.sh create mode 100644 tests/integration/targets/k8s_patched/playbook.yaml create mode 100755 tests/integration/targets/k8s_patched/runme.sh create mode 100644 tests/integration/targets/k8s_rollback/playbook.yaml create mode 100755 tests/integration/targets/k8s_rollback/runme.sh create mode 100644 tests/integration/targets/k8s_scale/playbook.yaml create mode 100755 tests/integration/targets/k8s_scale/runme.sh create mode 100644 tests/integration/targets/k8s_taint/playbook.yaml create mode 100755 tests/integration/targets/k8s_taint/runme.sh create mode 100644 tests/integration/targets/k8s_template/playbook.yaml create mode 100755 tests/integration/targets/k8s_template/runme.sh create mode 100644 tests/integration/targets/k8s_user_impersonation/playbook.yaml create mode 100755 tests/integration/targets/k8s_user_impersonation/runme.sh create mode 100644 tests/integration/targets/k8s_validate/playbook.yaml create mode 100755 tests/integration/targets/k8s_validate/runme.sh create mode 100644 tests/integration/targets/k8s_waiter/playbook.yaml create mode 100755 tests/integration/targets/k8s_waiter/runme.sh create mode 100644 tests/integration/targets/lookup_k8s/playbook.yaml create mode 100755 tests/integration/targets/lookup_k8s/runme.sh create mode 100644 tests/integration/targets/lookup_kustomize/playbook.yaml create mode 100755 tests/integration/targets/lookup_kustomize/runme.sh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 151cf32f..4f03be9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,25 +40,27 @@ jobs: uses: ansible-network/github_actions/.github/actions/ansible_test_splitter@main with: collections_to_test: ${{ env.source_dir }} + total_jobs: 8 - name: display targets id: display run: echo "test_targets=${{ steps.splitter.outputs.test_targets }}" >> $GITHUB_OUTPUT shell: bash + integration: needs: - splitter env: source: "./source" cloud_common: "./cloudcommon" + ansible_posix: "./ansible_posix" test_targets: ${{ needs.splitter.outputs.test_targets }} runs-on: ubuntu-latest + timeout-minutes: 60 strategy: fail-fast: false matrix: ansible-version: - - stable-2.9 - - stable-2.10 - stable-2.12 - milestone - devel @@ -87,13 +89,9 @@ jobs: enable-turbo-mode: - true - false - job-index: - - 1 - - 2 - - 3 - name: "kubernetes.core-py${{ matrix.python-version }}-${{ matrix.ansible-version }}-turbo-mode=${{ matrix.enable-turbo-mode }}-${{ matrix.job-index }}" + job-index: [1, 2, 3, 4, 5, 6, 7, 8] + name: "integration-py${{ matrix.python-version }}-${{ matrix.ansible-version }}-turbo-mode=${{ matrix.enable-turbo-mode }}-${{ matrix.job-index }}" steps: - # could read collection name using $(yq -r '.namespace' galaxy.yml).$(yq -r '.name' galaxy.yml) - name: Read ansible-test targets id: read-targets run: >- @@ -101,6 +99,13 @@ jobs: grep "kubernetes.core-${{ matrix.job-index }}" | cut -d ':' -f2 | sed s/','/' '/g)" >> $GITHUB_OUTPUT shell: bash + - name: Display targets + run: >- + echo "targets to test: $ANSIBLE_TARGETS" + shell: bash + env: + ANSIBLE_TARGETS: ${{ steps.read-targets.outputs.ansible_test_targets }} + - name: Checkout kubernetes.core repository uses: actions/checkout@v3 with: @@ -116,6 +121,14 @@ jobs: ref: main if: steps.read-targets.outputs.ansible_test_targets != '' + - name: checkout ansible-collections/ansible.posix + uses: ansible-network/github_actions/.github/actions/checkout_dependency@main + with: + repository: ansible-collections/ansible.posix + path: ${{ env.ansible_posix }} + ref: main + if: steps.read-targets.outputs.ansible_test_targets != '' + - name: install kubernetes.core collection id: install-collection uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection @@ -131,6 +144,13 @@ jobs: source_path: ${{ env.cloud_common }} if: steps.read-targets.outputs.ansible_test_targets != '' + - name: install ansible.posix collection + uses: abikouo/github_actions/.github/actions/build_install_collection@build_install_collection + with: + install_python_dependencies: true + source_path: ${{ env.ansible_posix }} + if: steps.read-targets.outputs.ansible_test_targets != '' + - name: create kubernetes cluster uses: helm/kind-action@v1.4.0 if: steps.read-targets.outputs.ansible_test_targets != '' diff --git a/test-requirements.txt b/test-requirements.txt index c9068609..0ab679ec 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,3 +5,4 @@ pytest pytest-xdist pytest-mock pytest-forked +virtualenv diff --git a/tests/integration/targets/helm/playbook.yaml b/tests/integration/targets/helm/playbook.yaml new file mode 100644 index 00000000..92e2e48b --- /dev/null +++ b/tests/integration/targets/helm/playbook.yaml @@ -0,0 +1,7 @@ +--- +- connection: local + gather_facts: true + hosts: localhost + + roles: + - helm diff --git a/tests/integration/targets/helm/runme.sh b/tests/integration/targets/helm/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/helm/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/helm_diff/playbook.yaml b/tests/integration/targets/helm_diff/playbook.yaml new file mode 100644 index 00000000..cb953721 --- /dev/null +++ b/tests/integration/targets/helm_diff/playbook.yaml @@ -0,0 +1,7 @@ +--- +- connection: local + gather_facts: true + hosts: localhost + + roles: + - helm_diff diff --git a/tests/integration/targets/helm_diff/runme.sh b/tests/integration/targets/helm_diff/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/helm_diff/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/helm_kubeconfig/playbook.yaml b/tests/integration/targets/helm_kubeconfig/playbook.yaml new file mode 100644 index 00000000..8c6c252a --- /dev/null +++ b/tests/integration/targets/helm_kubeconfig/playbook.yaml @@ -0,0 +1,7 @@ +--- +- connection: local + gather_facts: true + hosts: localhost + + roles: + - helm_kubeconfig diff --git a/tests/integration/targets/helm_kubeconfig/runme.sh b/tests/integration/targets/helm_kubeconfig/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/helm_kubeconfig/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/helm_plugin/playbook.yaml b/tests/integration/targets/helm_plugin/playbook.yaml new file mode 100644 index 00000000..2b50d19c --- /dev/null +++ b/tests/integration/targets/helm_plugin/playbook.yaml @@ -0,0 +1,7 @@ +--- +- connection: local + gather_facts: true + hosts: localhost + + roles: + - helm_plugin diff --git a/tests/integration/targets/helm_plugin/runme.sh b/tests/integration/targets/helm_plugin/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/helm_plugin/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/helm_pull/playbook.yaml b/tests/integration/targets/helm_pull/playbook.yaml new file mode 100644 index 00000000..43c5e6d4 --- /dev/null +++ b/tests/integration/targets/helm_pull/playbook.yaml @@ -0,0 +1,7 @@ +--- +- connection: local + gather_facts: true + hosts: localhost + + roles: + - helm_pull diff --git a/tests/integration/targets/helm_pull/runme.sh b/tests/integration/targets/helm_pull/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/helm_pull/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/helm_repository/playbook.yaml b/tests/integration/targets/helm_repository/playbook.yaml new file mode 100644 index 00000000..f2a56a7b --- /dev/null +++ b/tests/integration/targets/helm_repository/playbook.yaml @@ -0,0 +1,7 @@ +--- +- connection: local + gather_facts: true + hosts: localhost + + roles: + - helm_repository diff --git a/tests/integration/targets/helm_repository/runme.sh b/tests/integration/targets/helm_repository/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/helm_repository/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/helm_set_values/playbook.yaml b/tests/integration/targets/helm_set_values/playbook.yaml new file mode 100644 index 00000000..5d3109d2 --- /dev/null +++ b/tests/integration/targets/helm_set_values/playbook.yaml @@ -0,0 +1,7 @@ +--- +- connection: local + gather_facts: true + hosts: localhost + + roles: + - helm_set_values diff --git a/tests/integration/targets/helm_set_values/runme.sh b/tests/integration/targets/helm_set_values/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/helm_set_values/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/inventory_k8s/runme.sh b/tests/integration/targets/inventory_k8s/runme.sh index 4548f4bb..0691d8d5 100755 --- a/tests/integration/targets/inventory_k8s/runme.sh +++ b/tests/integration/targets/inventory_k8s/runme.sh @@ -8,6 +8,7 @@ USER_CREDENTIALS_DIR=$(pwd) ansible-playbook playbooks/delete_resources.yml -e "user_credentials_dir=${USER_CREDENTIALS_DIR}" "$@" { +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks export ANSIBLE_INVENTORY_ENABLED=kubernetes.core.k8s,yaml export ANSIBLE_PYTHON_INTERPRETER=auto_silent diff --git a/tests/integration/targets/k8s_access_review/playbook.yaml b/tests/integration/targets/k8s_access_review/playbook.yaml new file mode 100644 index 00000000..a97d2ee2 --- /dev/null +++ b/tests/integration/targets/k8s_access_review/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_access_review diff --git a/tests/integration/targets/k8s_access_review/runme.sh b/tests/integration/targets/k8s_access_review/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_access_review/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_append_hash/playbook.yaml b/tests/integration/targets/k8s_append_hash/playbook.yaml new file mode 100644 index 00000000..1ef60c4a --- /dev/null +++ b/tests/integration/targets/k8s_append_hash/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_append_hash diff --git a/tests/integration/targets/k8s_append_hash/runme.sh b/tests/integration/targets/k8s_append_hash/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_append_hash/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_apply/playbook.yaml b/tests/integration/targets/k8s_apply/playbook.yaml new file mode 100644 index 00000000..a1ec8552 --- /dev/null +++ b/tests/integration/targets/k8s_apply/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_apply diff --git a/tests/integration/targets/k8s_apply/runme.sh b/tests/integration/targets/k8s_apply/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_apply/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_check_mode/playbook.yaml b/tests/integration/targets/k8s_check_mode/playbook.yaml new file mode 100644 index 00000000..ee9f14f5 --- /dev/null +++ b/tests/integration/targets/k8s_check_mode/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_check_mode diff --git a/tests/integration/targets/k8s_check_mode/runme.sh b/tests/integration/targets/k8s_check_mode/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_check_mode/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_cluster_info/playbook.yaml b/tests/integration/targets/k8s_cluster_info/playbook.yaml new file mode 100644 index 00000000..3f26f1dd --- /dev/null +++ b/tests/integration/targets/k8s_cluster_info/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_cluster_info diff --git a/tests/integration/targets/k8s_cluster_info/runme.sh b/tests/integration/targets/k8s_cluster_info/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_cluster_info/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_copy/playbook.yaml b/tests/integration/targets/k8s_copy/playbook.yaml new file mode 100644 index 00000000..a0fec944 --- /dev/null +++ b/tests/integration/targets/k8s_copy/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_copy diff --git a/tests/integration/targets/k8s_copy/runme.sh b/tests/integration/targets/k8s_copy/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_copy/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_crd/playbook.yaml b/tests/integration/targets/k8s_crd/playbook.yaml new file mode 100644 index 00000000..303acd53 --- /dev/null +++ b/tests/integration/targets/k8s_crd/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_crd diff --git a/tests/integration/targets/k8s_crd/runme.sh b/tests/integration/targets/k8s_crd/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_crd/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_delete/playbook.yaml b/tests/integration/targets/k8s_delete/playbook.yaml new file mode 100644 index 00000000..ab89107b --- /dev/null +++ b/tests/integration/targets/k8s_delete/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_delete diff --git a/tests/integration/targets/k8s_delete/runme.sh b/tests/integration/targets/k8s_delete/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_delete/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_diff/playbook.yaml b/tests/integration/targets/k8s_diff/playbook.yaml new file mode 100644 index 00000000..bd6fe964 --- /dev/null +++ b/tests/integration/targets/k8s_diff/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_diff diff --git a/tests/integration/targets/k8s_diff/runme.sh b/tests/integration/targets/k8s_diff/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_diff/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_drain/playbook.yaml b/tests/integration/targets/k8s_drain/playbook.yaml new file mode 100644 index 00000000..f3199348 --- /dev/null +++ b/tests/integration/targets/k8s_drain/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_drain diff --git a/tests/integration/targets/k8s_drain/runme.sh b/tests/integration/targets/k8s_drain/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_drain/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_exec/playbook.yaml b/tests/integration/targets/k8s_exec/playbook.yaml new file mode 100644 index 00000000..f2c6a67c --- /dev/null +++ b/tests/integration/targets/k8s_exec/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_exec diff --git a/tests/integration/targets/k8s_exec/runme.sh b/tests/integration/targets/k8s_exec/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_exec/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_full/playbook.yaml b/tests/integration/targets/k8s_full/playbook.yaml new file mode 100644 index 00000000..f0f4f374 --- /dev/null +++ b/tests/integration/targets/k8s_full/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_full diff --git a/tests/integration/targets/k8s_full/runme.sh b/tests/integration/targets/k8s_full/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_full/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_gc/playbook.yaml b/tests/integration/targets/k8s_gc/playbook.yaml new file mode 100644 index 00000000..d1c5b4ff --- /dev/null +++ b/tests/integration/targets/k8s_gc/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_gc diff --git a/tests/integration/targets/k8s_gc/runme.sh b/tests/integration/targets/k8s_gc/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_gc/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_generate_name/playbook.yaml b/tests/integration/targets/k8s_generate_name/playbook.yaml new file mode 100644 index 00000000..fa5db406 --- /dev/null +++ b/tests/integration/targets/k8s_generate_name/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_generate_name diff --git a/tests/integration/targets/k8s_generate_name/runme.sh b/tests/integration/targets/k8s_generate_name/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_generate_name/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_info/playbook.yaml b/tests/integration/targets/k8s_info/playbook.yaml new file mode 100644 index 00000000..0070d891 --- /dev/null +++ b/tests/integration/targets/k8s_info/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_info diff --git a/tests/integration/targets/k8s_info/runme.sh b/tests/integration/targets/k8s_info/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_info/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_json_patch/playbook.yaml b/tests/integration/targets/k8s_json_patch/playbook.yaml new file mode 100644 index 00000000..7206db56 --- /dev/null +++ b/tests/integration/targets/k8s_json_patch/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_json_patch diff --git a/tests/integration/targets/k8s_json_patch/runme.sh b/tests/integration/targets/k8s_json_patch/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_json_patch/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_label_selectors/playbook.yaml b/tests/integration/targets/k8s_label_selectors/playbook.yaml new file mode 100644 index 00000000..bff2875b --- /dev/null +++ b/tests/integration/targets/k8s_label_selectors/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_label_selectors diff --git a/tests/integration/targets/k8s_label_selectors/runme.sh b/tests/integration/targets/k8s_label_selectors/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_label_selectors/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_lists/playbook.yaml b/tests/integration/targets/k8s_lists/playbook.yaml new file mode 100644 index 00000000..0b7156d5 --- /dev/null +++ b/tests/integration/targets/k8s_lists/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_lists diff --git a/tests/integration/targets/k8s_lists/runme.sh b/tests/integration/targets/k8s_lists/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_lists/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_log/playbook.yaml b/tests/integration/targets/k8s_log/playbook.yaml new file mode 100644 index 00000000..1855427a --- /dev/null +++ b/tests/integration/targets/k8s_log/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_log diff --git a/tests/integration/targets/k8s_log/runme.sh b/tests/integration/targets/k8s_log/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_log/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_manifest_url/playbook.yaml b/tests/integration/targets/k8s_manifest_url/playbook.yaml new file mode 100644 index 00000000..9196cafa --- /dev/null +++ b/tests/integration/targets/k8s_manifest_url/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_manifest_url diff --git a/tests/integration/targets/k8s_manifest_url/runme.sh b/tests/integration/targets/k8s_manifest_url/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_manifest_url/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_merge_type/playbook.yaml b/tests/integration/targets/k8s_merge_type/playbook.yaml new file mode 100644 index 00000000..5aec041f --- /dev/null +++ b/tests/integration/targets/k8s_merge_type/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_merge_type diff --git a/tests/integration/targets/k8s_merge_type/runme.sh b/tests/integration/targets/k8s_merge_type/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_merge_type/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_patched/playbook.yaml b/tests/integration/targets/k8s_patched/playbook.yaml new file mode 100644 index 00000000..e3b890d1 --- /dev/null +++ b/tests/integration/targets/k8s_patched/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_patched diff --git a/tests/integration/targets/k8s_patched/runme.sh b/tests/integration/targets/k8s_patched/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_patched/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_rollback/playbook.yaml b/tests/integration/targets/k8s_rollback/playbook.yaml new file mode 100644 index 00000000..f91f78ea --- /dev/null +++ b/tests/integration/targets/k8s_rollback/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_rollback diff --git a/tests/integration/targets/k8s_rollback/runme.sh b/tests/integration/targets/k8s_rollback/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_rollback/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_scale/playbook.yaml b/tests/integration/targets/k8s_scale/playbook.yaml new file mode 100644 index 00000000..2c48db5a --- /dev/null +++ b/tests/integration/targets/k8s_scale/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_scale diff --git a/tests/integration/targets/k8s_scale/runme.sh b/tests/integration/targets/k8s_scale/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_scale/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_taint/playbook.yaml b/tests/integration/targets/k8s_taint/playbook.yaml new file mode 100644 index 00000000..805c3476 --- /dev/null +++ b/tests/integration/targets/k8s_taint/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_taint diff --git a/tests/integration/targets/k8s_taint/runme.sh b/tests/integration/targets/k8s_taint/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_taint/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_template/playbook.yaml b/tests/integration/targets/k8s_template/playbook.yaml new file mode 100644 index 00000000..1a4e6112 --- /dev/null +++ b/tests/integration/targets/k8s_template/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_template diff --git a/tests/integration/targets/k8s_template/runme.sh b/tests/integration/targets/k8s_template/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_template/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_user_impersonation/playbook.yaml b/tests/integration/targets/k8s_user_impersonation/playbook.yaml new file mode 100644 index 00000000..e09f40e9 --- /dev/null +++ b/tests/integration/targets/k8s_user_impersonation/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_user_impersonation diff --git a/tests/integration/targets/k8s_user_impersonation/runme.sh b/tests/integration/targets/k8s_user_impersonation/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_user_impersonation/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_validate/playbook.yaml b/tests/integration/targets/k8s_validate/playbook.yaml new file mode 100644 index 00000000..510c8e6c --- /dev/null +++ b/tests/integration/targets/k8s_validate/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_validate diff --git a/tests/integration/targets/k8s_validate/runme.sh b/tests/integration/targets/k8s_validate/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_validate/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/k8s_waiter/playbook.yaml b/tests/integration/targets/k8s_waiter/playbook.yaml new file mode 100644 index 00000000..4e5171ee --- /dev/null +++ b/tests/integration/targets/k8s_waiter/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - k8s_waiter diff --git a/tests/integration/targets/k8s_waiter/runme.sh b/tests/integration/targets/k8s_waiter/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/k8s_waiter/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/lookup_k8s/playbook.yaml b/tests/integration/targets/lookup_k8s/playbook.yaml new file mode 100644 index 00000000..47a0c7ff --- /dev/null +++ b/tests/integration/targets/lookup_k8s/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - lookup_k8s diff --git a/tests/integration/targets/lookup_k8s/runme.sh b/tests/integration/targets/lookup_k8s/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/lookup_k8s/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file diff --git a/tests/integration/targets/lookup_kustomize/playbook.yaml b/tests/integration/targets/lookup_kustomize/playbook.yaml new file mode 100644 index 00000000..1a5ed844 --- /dev/null +++ b/tests/integration/targets/lookup_kustomize/playbook.yaml @@ -0,0 +1,6 @@ +--- +- connection: local + gather_facts: false + hosts: localhost + roles: + - lookup_kustomize diff --git a/tests/integration/targets/lookup_kustomize/runme.sh b/tests/integration/targets/lookup_kustomize/runme.sh new file mode 100755 index 00000000..02ef1460 --- /dev/null +++ b/tests/integration/targets/lookup_kustomize/runme.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux +export ANSIBLE_CALLBACKS_ENABLED=profile_tasks +export ANSIBLE_ROLES_PATH=../ +ansible-playbook playbook.yaml "$@" \ No newline at end of file