Skip to content

Instantly share code, notes, and snippets.

Tomáš Karásek t0mk

Block or report user

Report or block t0mk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
locals {
project_id = "408b7fd3-0df2-4837-b0df-65aaf09f642a"
ud = <<EOS
- name: "docker-prometheus-node-exporter.service"
command: "start"
content: |
t0mk /
Created Feb 27, 2019
packet bgp with count
variable "bgp_password" {
type = "string"
default = "955dB0b81Ef"
variable "worker_count" {
type = "string"
default = "2"


fds f sdf sdf sd fsd f sf ds

View gist:ce14b1e11c1c0229972b
! 9/21/2015, 11:16:19 AM
! 9/21/2015, 11:16:36 AM
! 9/21/2015, 11:16:50 AM > .__wu.clearfix._uaw > ._fmc > ._2gyi > ._2gyj
View apps.fact
APP_PATH = '/apps'
CONFIG = 'config.yml'
import os
import yaml
import json
import subprocess
View gist:ba4a976953b9360555af
ssh-dss AAAAB3NzaC1kc3MAAACBAIqQWAYfwOYRouaFEPAjtQIDDvQMMni4IUS69f6gQRl6CoHBJHYXpqgaeK3HeYOLYdGtYIfy6UMuGie0W1JAXMsIDYBpuHHYed0Kou18MNiLpwihR0lKd0kM11UwPvirexLelr3RtUVTR1VQ4DvceBFCUtXFE323F8Ln0scnjhUjAAAAFQCJ/Wh36uhh/jcT66DqKgKsy4mh0wAAAIBKgPr3SfVSCyc7HG8ed4F+utjblW39sXSEQJifbjGmWB9lFu/vcAiYYGqrmZqqJl9AhK7buZ2PcbqMVL4swAeV7SQqGHf7VhDHlaaNR6sVbnDbiTMTBjq1H4SJkihK9JcIBaYakhppyLMVKb2La6BDrZPwGuZsv6ZSHXy2ESZobAAAAIBGjgIlhL+FkLZulIVVeUkaPDIp4OvKEQRiPNSU6RtZl4u5Relk4oj8bzRV6GlFnxfuzg3o/xQacMijCllSWTSBB6lrZ7G6A2QraLeoHZoubExhtcZnH5K8ekVm02Di4sS3EhGcnZ1oUSg4vzxMn73biZBAfS6/VfpjKufSLAybng== tomk@Tomass-MacBook-Pro.local
t0mk /
Last active Aug 29, 2015
Ansible Helsinki meetup 2014-10-29

Demo: To launch a few Docker containers on a virtual machine

Why: I want to have some containers running for playing with (..) (running Docker container on a VM is not the most efficient way to go, but for development it's alright)

To start with: vanilla instance of newest Ubuntu 14.04 cloud image

I use OpenStack. You can get one for free on Amazon. Probably also free tier in Rack, Euca ,...

sudo-capable SSH user, with my key in .ssh/authorized_keys


Keybase proof

I hereby claim:

  • I am t0mk on github.
  • I am t0mk ( on keybase.
  • I have a public key whose fingerprint is F6BA A493 4EA2 1B73 2F04 9D75 54A0 7663 C9C3 1EA0

To claim this, I am signing this object:

View ansible failed to parse
TASK: [ldap_account_manager | yum ] *******************************************
fatal: [] => failed to parse: SUDO-SUCCESS-dsbtsnskgrumzvmttoqcilcggxnbpkdp
['/usr/bin/yum', '-d', '2', '-y', 'install', '/tmp/ldap-account-manager-4.4.rpm']
{"msg": "Non-fatal POSTIN scriptlet failure in rpm package ldap-account-manager-4.4-0.fedora.1.noarch\n", "changed": true, "results": ["Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base:\n * extras:\n * updates:\nSetting up Install Process\nExamining /tmp/ldap-account-manager-4.4.rpm: ldap-account-manager-4.4-0.fedora.1.noarch\nMarking /tmp/ldap-account-manager-4.4.rpm to be installed\nResolving Dependencies\n--> Running transaction check\n---> Package ldap-account-manager.noarch 0:4.4-0.fedora.1 will be installed\n--> Processing Dependency: php for package: ldap-account-manager-4.4-0.fedora.1.noarch\n--> Processing Dependency: perl for package: ldap-account-manager-4.4-0.fedora.1.noarch\n-
You can’t perform that action at this time.