-
Notifications
You must be signed in to change notification settings - Fork 128
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
[Create a Kubernetes inventory using templates and redesign it to dep… #2510
base: pub/new_architecture
Are you sure you want to change the base?
Conversation
…loy from the Core container to the Kubespray container] Signed-off-by: root <[email protected]>
Can one of the admins verify this patch? |
|
||
- name: Execute ansible-playbook for Kubernetes setup asynchronously | ||
ansible.builtin.shell: | ||
cmd: /venv/bin/ansible-playbook /opt/omnia/kubespray/k8s.yml -i /opt/omnia/kubespray/inv_k8s --extra-vars "@/opt/omnia/kubespray/k8s_all_vars.yml" -vvv | /usr/bin/tee /opt/omnia/kubespray/logs/k8s_deployment.log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do variablize. /opt/omnia/kubespray/inv_k8s --extra-vars "@/opt/omnia/kubespray/k8s_all_vars.yml
# Usage: fetch_omnia_inputs.yml | ||
config_filename: "omnia_config.yml" | ||
config_vaultname: .omnia_vault_key | ||
vault_key_permission: "0644" | ||
min_length: 8 | ||
max_length: 30 | ||
omnia20_k8s_version: '1.31.4' | ||
omnia17_k8s_version: '1.29.5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unnecessary variables
ansible.builtin.import_playbook: ../utils/update_user_repo.yml | ||
when: not ( hostvars['127.0.0.1']['update_user_repo_executed'] | default(false) | bool ) | ||
# - name: Update Repositories/Registries on nodes | ||
# ansible.builtin.import_playbook: ../utils/update_user_repo.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uncomment and test this
No description provided.