diff --git a/ansible/inventory/hosts.yml b/ansible/inventory/hosts.yml index 92043f7..f04d481 100644 --- a/ansible/inventory/hosts.yml +++ b/ansible/inventory/hosts.yml @@ -92,6 +92,29 @@ all: ansible_host: clawjp.node.dev.cm node_hostname: clawjp node_region: jp-tyo + orajpa: + ansible_host: orajpa.node.dev.cm + node_hostname: orajpa + node_region: jp-tyo + orakra: + ansible_host: orakra.node.dev.cm + node_hostname: orakra + node_region: kr-sel + orasga: + ansible_host: orasga.node.dev.cm + node_hostname: orasga + node_region: sg-sg + # 以下为内网节点 需要手动先配置好vpn才能访问 + homea: + ansible_host: homea + node_hostname: homea + node_region: cn-sh + use_mirror: true + homeb: + ansible_host: homeb + node_hostname: homeb + node_region: cn-sh + use_mirror: true # 节点分组 k3s_cluster: diff --git a/ansible/playbooks/site.yml b/ansible/playbooks/site.yml index a1219b5..f6dd177 100644 --- a/ansible/playbooks/site.yml +++ b/ansible/playbooks/site.yml @@ -20,7 +20,7 @@ ansible.builtin.debug: msg: | {% if lookup('env', 'SSH_PASSWORD') | length > 0 %} - ✓ 使用密码登录 (首次安装) + ✓ 优先使用密码登录 {% else %} ✓ 使用密钥登录 {% endif %}