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

[Create a Kubernetes inventory using templates and redesign it to dep… #2510

Open
wants to merge 1 commit into
base: pub/new_architecture
Choose a base branch
from

Conversation

pullan1
Copy link

@pullan1 pullan1 commented Feb 24, 2025

No description provided.

…loy from the Core container to the Kubespray container]

Signed-off-by: root <[email protected]>
@Omnia-svc
Copy link
Collaborator

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

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'

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uncomment and test this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants