RAM
---
vm-1 = 1,024 MiB
vm-2 = 2,048 MiB
Total: 3,072 MiB
CPU(s)
------
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
import json | |
from ipalib import api | |
def initialize(): | |
''' | |
This function initializes the FreeIPA/IPA API. This function requires |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
""" | |
Custom inventory script for Ansible populated by the JSS | |
""" | |
from os.path import dirname, realpath, join | |
from urllib.parse import quote | |
import argparse | |
import json | |
import configparser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""https://twitter.com/krispayne/status/859833552078225408: | |
@shea_craig is possible with python-jss to generate a list of IP addresses for | |
computers in the JSS? | |
""" | |
from operator import itemgetter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
""" | |
Custom inventory script for Ansible populated by the JSS | |
""" | |
from functools import lru_cache | |
from os.path import dirname, realpath, join | |
from urllib.parse import quote | |
import argparse | |
import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys, os | |
import urllib, urllib2 | |
import base64 | |
import json | |
import requests | |
import xml.etree.ElementTree as ET | |
def requests_xml(jss_user, jss_pass, jss_url, category): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# This script uses the FreeIPA API to create an Ansible dynamic directory | |
# This is a shell script version of freeipa-api-inv.py | |
# | |
# DEPENDENCIES: before this script will work with AWX or Tower | |
# the python_freeipa module has to be installed | |
# | |
# Add this to your Docker image | |
# RUN pip install python_freeipa | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# check_user_lastseen - report on users who have not logged in for a while | |
# Purpose: | |
# This script tries to find idle accounts and any orphaned homedirs | |
# Currently is Linux biased but capacity for portability is there | |
# Author: Rawiri Blundell | |
# Copyright: See provided LICENCE file | |
############################################################################### | |
# Source the config mapping library | |
# Provides variables "${thisHost}", "${thisJob}" and |
I tried to install this set of technologies for an small home project using BME280 in a Raspberry Pi Zero, but all guides I tried to follow are based on newer Raspberry Pi versions (armv7) (like this guide or this one), so the docker
instructions don't work for some of these packages.
TL;DR: don't use any docker
image as they don't exist for armv6, use only apt
commands and repos from each project official documentation
As official documentation details, simply use the already available package from Raspbian/Raspberry Pi OS archive repository:
OlderNewer