Skip to content

Instantly share code, notes, and snippets.

View mikecali's full-sized avatar

Mike Calizo mikecali

View GitHub Profile
@mikecali
mikecali / WinWebServer.yaml
Created October 25, 2020 05:22 — forked from suhanime/WinWebServer.yaml
SampleWindowsDeployment
apiVersion: v1
kind: Service
metadata:
name: win-webserver
labels:
app: win-webserver
spec:
ports:
# the port that this service should serve on
- port: 80
@mikecali
mikecali / openssl-fix.yml
Created July 5, 2017 02:23 — forked from carsongee/openssl-fix.yml
Heartbeat / Heartbleed SSL Ansible check and correct play for Ubuntu
---
# Patches openssl problem and restarts needed services
- name: Apply common configration to all nodes
hosts: all
sudo: yes
# Uncomment to apply update one server at a time
# serial: 1
tasks:
- name: "Install packages and update cache"
@mikecali
mikecali / gist:83d4fc1a5e34c9ea35b86eb225f7f905
Created December 14, 2016 01:58
Playbook result with error and another file included is the playbook itself.
[mikecali@rhel-tower vm_disk_add]$ ansible-playbook tasks/add_disks.yml -vvvv
Using /etc/ansible/ansible.cfg as config file
Loading callback plugin default of type stdout, v2.0 from /usr/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc
PLAYBOOK: add_disks.yml ********************************************************
1 plays in tasks/add_disks.yml
PLAY [Reconfigure VM Filesystem] ***********************************************
TASK [Reconfigure Reconfigure VM Filesystem] ***********************************
@mikecali
mikecali / websphere.yml
Created October 9, 2016 23:01 — forked from klenwell/websphere.yml
Ansible Playbook to Install WebSphere MQ on Debian Server
#
# This playbook assumes the WebSphere MQ file provided by IBM has already been
# downloaded to a specific directory (target.wd) on the server.
#
# ${target.wd} is a variable representing the working directory on the target
# server the MQ client will be installed.
#
# Note: Although this playbook is designed to be able to be run independently,
# it is in fact part of a longer playbook and therefore may have some other
# unexpected dependencies not reflected here.
@mikecali
mikecali / json file.
Created July 11, 2016 00:28
packer error on post-processors: vsphere
{
"builders": [
{
"boot_command": [
"<tab> text ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `ks_path`}}<enter><wait>"
],
"boot_wait": "10s",
"disk_size": 81920,
"http_directory": "http",
"iso_checksum": "{{user `iso_checksum`}}",