Skip to content

Instantly share code, notes, and snippets.

View jeanfrancoisgratton's full-sized avatar

J.F.Gratton jeanfrancoisgratton

  • Zenika Canada
  • Blainville, Canada
  • 17:39 (UTC -05:00)
View GitHub Profile
%define debug_package %{nil}
%define _name admintools
%define _prefix /opt
%define _homedir /opt/%{_name}
Name: admintools
Version: 1.111
Release: 0
Summary: admintools
@jeanfrancoisgratton
jeanfrancoisgratton / ansible-config-dump.txt
Created December 1, 2019 17:05
Facts gathering issue
ACTION_WARNINGS(default) = True
AGNOSTIC_BECOME_PROMPT(default) = True
ALLOW_WORLD_READABLE_TMPFILES(default) = False
ANSIBLE_CONNECTION_PATH(default) = None
ANSIBLE_COW_PATH(default) = None
ANSIBLE_COW_SELECTION(/tmp/aaa/ansible.cfg) = random
ANSIBLE_COW_WHITELIST(/tmp/aaa/ansible.cfg) = ['bud-frogs', 'bunny', 'cheese', 'daemon', 'default', 'dragon', 'elephant-in-snake', 'elephant', 'eyes', '\\\nhellokitty', 'kitty', 'luke-koala', 'meow', 'milk', 'moofasa', 'moose', 'ren', 'sheep', 'small', 'stegosaurus', '\\\nstimpy', 'supermilker', 'three-eyes', 'turkey', 'turtle', 'tux', 'udder', 'vader-koala', 'vader', 'www']
ANSIBLE_FORCE_COLOR(default) = False
ANSIBLE_NOCOLOR(default) = False
ANSIBLE_NOCOWS(default) = False
#
# Certificate-Based Repositories
# Managed by (rhsm) subscription-manager
#
# *** This file is auto-generated. Changes made here will be over-written. ***
# *** Use "subscription-manager repo-override --help" if you wish to make changes. ***
#
# If this file is empty and this system is subscribed consider
# a "yum repolist" to refresh available repos
#
@jeanfrancoisgratton
jeanfrancoisgratton / dnsupdsrv.py
Created February 15, 2018 14:03
dns updater daemon
#!/usr/bin/env python3
import datetime
import getpass
import ipaddress
import logging
import shutil
import subprocess
import sys
import socket
Tue Feb 6 08:05:06 2018 us=978167 Current Parameter Settings:
Tue Feb 6 08:05:06 2018 us=978224 config = 'Documents/client1.ovpn'
Tue Feb 6 08:05:06 2018 us=978234 mode = 0
Tue Feb 6 08:05:06 2018 us=978242 persist_config = DISABLED
Tue Feb 6 08:05:06 2018 us=978250 persist_mode = 1
Tue Feb 6 08:05:06 2018 us=978257 show_ciphers = DISABLED
Tue Feb 6 08:05:06 2018 us=978264 show_digests = DISABLED
Tue Feb 6 08:05:06 2018 us=978271 show_engines = DISABLED
Tue Feb 6 08:05:06 2018 us=978278 genkey = DISABLED
Tue Feb 6 08:05:06 2018 us=978285 key_pass_file = '[UNDEF]'