Skip to content

Instantly share code, notes, and snippets.

View demiters's full-sized avatar
🍕
Test status please ignore

Arturs Demiters demiters

🍕
Test status please ignore
  • CodeCraft
  • Riga, Latvia
View GitHub Profile
@demiters
demiters / windows-inventory.yml
Created August 30, 2020 14:06
Ansible inventory for connecting to a Windows host
all:
hosts: localhost
vars:
ansible_user: arturs
ansible_connection: winrm
ansible_winrm_server_cert_validation: ignore
@demiters
demiters / ubuntu-playbook.yml
Last active November 12, 2020 16:21
Ansible example playbook for installing software on and configuring Ubunutu 20.04
---
- hosts: localhost
connection: local
become: yes
become_user: arturs
tasks:
- name: Install curl
apt:
name: curl
@demiters
demiters / ubuntu-inventory.yml
Created August 31, 2020 10:01
Ansible inventory for connecting to a local Ubuntu host (use --ask-become-pass)
all:
hosts: localhost
vars:
ansible_user: arturs