[stage-2] some fixes

This commit is contained in:
2023-03-20 11:18:27 +07:00
parent af79b9f67f
commit eb433fd84d
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
ansible.builtin.template: ansible.builtin.template:
src: "{{ playbook_dir }}/templates/kubectl/conf.j2" src: "{{ playbook_dir }}/templates/kubectl/conf.j2"
dest: "~/.kube/config" dest: "~/.kube/config"
mode: 0700
- name: Kubectl - check connection - name: Kubectl - check connection
delegate_to: localhost delegate_to: localhost
ansible.builtin.command: ansible.builtin.command:

View File

@@ -4,7 +4,7 @@ resource "random_shuffle" "netology-gw-subnet-random" {
} }
resource "yandex_compute_instance" "k8s-cluster" { resource "yandex_compute_instance" "k8s-cluster" {
for_each = toset(["control", "node01", "node2"]) for_each = toset(["control", "node01", "node02"])
name = each.key name = each.key