Skip to content
Snippets Groups Projects
Commit 843b698e authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

add ssh key to playbook

parent abc851a7
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,11 @@
- name: Install nfs
include_role:
name: geerlingguy.nfs
- name: Set authorized keys
ansible.posix.authorized_key:
user: ubuntu
state: present
key: "https://git.sch.bme.hu/{{ item }}.keys"
loop:
- rlacko
\ No newline at end of file
......@@ -24,6 +24,14 @@
- python3-pip
- git
- name: Set authorized keys
ansible.posix.authorized_key:
user: root
state: present
key: "https://git.sch.bme.hu/{{ item }}.keys"
loop:
- rlacko
- name: Clone Kubespray
git:
repo: 'https://github.com/kubernetes-sigs/kubespray.git'
......
......@@ -21,6 +21,14 @@
- curl
- git
- name: Set authorized keys
ansible.posix.authorized_key:
user: ubuntu
state: present
key: "https://git.sch.bme.hu/{{ item }}.keys"
loop:
- rlacko
- name: Install nfs
include_role:
name: geerlingguy.nfs
......
......@@ -7,6 +7,14 @@
update_cache: yes
cache_valid_time: 86400 # One day
- name: Set authorized keys
ansible.posix.authorized_key:
user: ubuntu
state: present
key: "https://git.sch.bme.hu/{{ item }}.keys"
loop:
- rlacko
- name: Install nfs
include_role:
name: geerlingguy.nfs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment