Skip to content

Instantly share code, notes, and snippets.

@injectedfusion
injectedfusion / Ansible-Lint.yml
Created March 20, 2021 07:52
Github Action - Linting for Ansible 2.9
name: Ansible Lint # feel free to pick your own name
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- main
pull_request:
branches:
@injectedfusion
injectedfusion / recurring_maintenance_windows.py
Created August 20, 2020 15:39 — forked from lfepp/recurring_maintenance_windows.py
Script to create a number of recurring maintenance windows in PagerDuty
#!/usr/bin/env python
#
# Copyright (c) 2016, PagerDuty, Inc. <info@pagerduty.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
---
all:
hosts:
children:
site_name_1:
unit_name_1:
switches:
outer_switches:
AAAA-u00-os-01a:
ansible_host: 172.16.0.128
@injectedfusion
injectedfusion / README.md
Last active May 29, 2020 02:12
Resources List for the Home Garden & Pottery Studio Environmental Sensor Project

Garden & Pottery Studio Environmental Sensor Project

Hardware Parts List

@injectedfusion
injectedfusion / hedera-gcs-setup.sh
Created May 28, 2020 20:18
Hedera Mirror Node Project Setup Script
#!/bin/bash
# Setup Script for hedera-gcs-setup
mkdir -pv ~/Desktop/hedera-mirror-node/vars ~/Desktop/hedera-mirror-node/roles
touch ~/Desktop/hedera-mirror-node/inventory.ini
cat >> ~/Desktop/hedera-mirror-node/inventory.ini <<- _EOF_
[mirrornode]
IPADDRESS ansible_ssh_user=USERNAME
_EOF_
touch ~/Desktop/hedera-mirror-node/roles/requirements.yml
cat >> ~/Desktop/hedera-mirror-node/roles/requirements.yml <<- _EOF_