Skip to content

Commit

Permalink
init file for kube-cluster #110
Browse files Browse the repository at this point in the history
Init file for kube cluster
  • Loading branch information
tanmaysawaji committed Apr 4, 2022
1 parent 6fe0e94 commit 7b1f623
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions kube-cluster/initial.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- hosts: all
become: yes
tasks:
# - name: create the 'ubuntu' user
# user: name=ubuntu append=yes state=present createhome=yes shell=/bin/bash

# - name: allow 'ubuntu' to have passwordless sudo
# lineinfile:
# dest: /etc/sudoers
# line: 'ubuntu ALL=(ALL) NOPASSWD: ALL'
# validate: 'visudo -cf %s'

- name: set up authorized keys for the ubuntu user
authorized_key: user=ubuntu key="{{item}}"
with_file:
- /home/tanmay/Workspace/jetstream/ssh_login/key.pub

0 comments on commit 7b1f623

Please sign in to comment.