blob: 9ec9f073ae9642dd4813d6b8673746f13ff193a1 [file] [log] [blame]
Petr Ospalýfe49ee92019-04-20 00:53:01 +02001---
2- name: Create a rke user on the node
3 user:
4 name: "{{ rke_username }}"
5 groups: docker
6 password_lock: yes
7
8- name: Distribute rke user ssh public key
9 authorized_key:
10 user: "{{ rke_username }}"
11 key: "{{ hostvars[groups['infrastructure'][0]].cluster_public_key }}"