Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible: update documentation #107

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions ansible/inventory_example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
all:
children:
linuxone:
children:
s390x:
children:
repo_and_org_runner:
hosts:
ci_runner_s390x_1: null
ci_runner_s390x_3: null
vars:
runner_repo_list:
- name: a-github-org
instances: 1
gh_app_id: a-github-app-id
- name: a-github-org/a-github-repo
instances: 1
hosts:
ci_runner_s390x_1:
ansible_host: 192.0.2.1
ci_runner_s390x_2:
ansible_host: 192.0.2.2
ci_runner_s390x_3:
ansible_host: 192.0.2.3
vars:
ansible_user: host_user
runner_docker_healthcheck: |-
--health-cmd='(ss -ntp -H dport = :443 | grep -q ESTAB) || exit 1' \
--health-start-period=60s --health-interval=30s \
--health-timeout=5s --health-retries=3
runner_repo_list:
- name: a-github-org
instances: 1
gh_app_id: a-github-app-id
aws:
children:
x86_64:
hosts:
ci_runner_x86_64_1:
ansible_host: 192.0.2.11
ci_runner_x86_64_2:
ansible_host: 192.0.2.12
aarch64:
hosts:
ci_runner_arm64_1:
ansible_host: 192.0.2.21
ci_runner_arm64_2:
ansible_host: 192.0.2.22
vars:
runner_repo_list:
- name: a-github-org
instances: 8
gh_app_id: a-github-app-id
vars:
ansible_user: host_user
runner_repo_list:
- name: a-github-org
instances: 10
gh_app_id: a-github-app-id
runner_prefix: some-prefixes
vars:
ansible_ssh_common_args: -o 'ProxyCommand ......'
runner_libbpf_ci_repo_url: https://github.com/libbpf/ci
runner_libbpf_ci_repo_branch: master
runner_gh_apps:
- name: kernel-patches-runner
id: a-github-app-id
secret: '{{ lookup(''ansible.builtin.pipe'', ''command to get a-github-app-id secret'') }}'
runner_gh_token_default: '{{ lookup(''ansible.builtin.pipe'', ''scommand to get the default github-user-token'') }}'
runner_gh_user_default: kernel-patches-bot
runner_gh_tokens:
a-github-org/a-github-repo: '{{ lookup(''ansible.builtin.pipe'', ''command to get a repo specific github-user-token'') }}'

Loading