Loading ansible/inventory/group_vars/all/all.yml +1 −0 Original line number Diff line number Diff line Loading @@ -61,3 +61,4 @@ kubeconfig_server_host: "{{ ansible_default_ipv4.address | default('localhost') kubeconfig_server_url: "https://{{ kubeconfig_server_host }}:{{ api_server_port }}" kubeconfig_output_dir: "{{ op_automation_base }}/automation/1-kind-cluster" kubeconfig_filename: operator-platform-external-kubeconfig.yaml kubeconfig_path: "{{ kubeconfig_output_dir }}/{{ kubeconfig_filename }}" ansible/inventory/hosts.yml +14 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,20 @@ all: ansible_connection: local ansible_python_interpreter: "{{ ansible_playbook_python }}" openop_sunrise: ansible_host: 192.168.123.214 ansible_connection: ssh ansible_user: ubuntu ansible_ssh_private_key_file: "~/.ssh/keys/sn-keypair" ansible_ssh_common_args: '-o StrictHostKeyChecking=no -o ConnectTimeout=300 -o ServerAliveInterval=30 -o IdentitiesOnly=yes' ansible_python_interpreter: /usr/bin/python3 deployment_mode: remote host_ip: 192.168.123.214 # kubeconfig_output_dir: "/home/ubuntu/kind-cluster-config" # kubeconfig_filename: operator-platform-external-kubeconfig.yaml # cluster_name: dev-all-in-one openop_1: ansible_host: 192.168.123.188 ansible_connection: ssh Loading ansible/playbooks/infrastructure/kind-cluster/deploy.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Usage: ansible-playbook playbooks/infrastructure/kind-cluster/deploy.yml - name: Deploy Kind Cluster for Operator Platform hosts: kind_cluster hosts: kind_clusters gather_facts: true pre_tasks: Loading ansible/playbooks/infrastructure/kind-cluster/undeploy.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Usage: ansible-playbook playbooks/infrastructure/kind-cluster/undeploy.yml - name: Undeploy Kind Cluster for Operator Platform hosts: k8s_cluster hosts: k8s_clusters gather_facts: true vars_prompt: Loading ansible/playbooks/infrastructure/prerequisites/install-python-deps.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Usage: ansible-playbook playbooks/tools/prerequisites/install-python-deps.yml -k -K - name: Install Python Dependencies for Ansible hosts: k8s_cluster hosts: "{{ target_hosts | default('k8s_cluster') }}" gather_facts: true become: true Loading Loading
ansible/inventory/group_vars/all/all.yml +1 −0 Original line number Diff line number Diff line Loading @@ -61,3 +61,4 @@ kubeconfig_server_host: "{{ ansible_default_ipv4.address | default('localhost') kubeconfig_server_url: "https://{{ kubeconfig_server_host }}:{{ api_server_port }}" kubeconfig_output_dir: "{{ op_automation_base }}/automation/1-kind-cluster" kubeconfig_filename: operator-platform-external-kubeconfig.yaml kubeconfig_path: "{{ kubeconfig_output_dir }}/{{ kubeconfig_filename }}"
ansible/inventory/hosts.yml +14 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,20 @@ all: ansible_connection: local ansible_python_interpreter: "{{ ansible_playbook_python }}" openop_sunrise: ansible_host: 192.168.123.214 ansible_connection: ssh ansible_user: ubuntu ansible_ssh_private_key_file: "~/.ssh/keys/sn-keypair" ansible_ssh_common_args: '-o StrictHostKeyChecking=no -o ConnectTimeout=300 -o ServerAliveInterval=30 -o IdentitiesOnly=yes' ansible_python_interpreter: /usr/bin/python3 deployment_mode: remote host_ip: 192.168.123.214 # kubeconfig_output_dir: "/home/ubuntu/kind-cluster-config" # kubeconfig_filename: operator-platform-external-kubeconfig.yaml # cluster_name: dev-all-in-one openop_1: ansible_host: 192.168.123.188 ansible_connection: ssh Loading
ansible/playbooks/infrastructure/kind-cluster/deploy.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Usage: ansible-playbook playbooks/infrastructure/kind-cluster/deploy.yml - name: Deploy Kind Cluster for Operator Platform hosts: kind_cluster hosts: kind_clusters gather_facts: true pre_tasks: Loading
ansible/playbooks/infrastructure/kind-cluster/undeploy.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Usage: ansible-playbook playbooks/infrastructure/kind-cluster/undeploy.yml - name: Undeploy Kind Cluster for Operator Platform hosts: k8s_cluster hosts: k8s_clusters gather_facts: true vars_prompt: Loading
ansible/playbooks/infrastructure/prerequisites/install-python-deps.yml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ # Usage: ansible-playbook playbooks/tools/prerequisites/install-python-deps.yml -k -K - name: Install Python Dependencies for Ansible hosts: k8s_cluster hosts: "{{ target_hosts | default('k8s_cluster') }}" gather_facts: true become: true Loading