Skip to content

Instantly share code, notes, and snippets.

View jonsbun's full-sized avatar

Jonas Bunevičius jonsbun

  • Kaunas, Lithuania
View GitHub Profile
@jonsbun
jonsbun / init.yml
Created December 3, 2019 21:36
Prepare Server(s) for Ansible (ansible-init): https://github.com/jonsbun/ansible-init
---
- name: Prepare localhost for Ansible usage
hosts: localhost
connection: local
gather_facts: yes
tasks:
- name: Generate SSH key
user:
@jonsbun
jonsbun / inventory
Created December 3, 2019 21:37
Prepare Server(s) for Ansible (ansible-init): https://github.com/jonsbun/ansible-init
server1-hostname ansible_user='server1-user' ansible_password='server1-password'
server2-hostname ansible_user='server2-user' ansible_password='server2-password'