Install-Module -Name VMware.PowerCLI
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
""" | |
Used to create a simple powerpoint table from some json input. | |
To get the json use e.g.: | |
curl --header 'Authorization: Basic $CREDS_64' 'https://<BASE_URL>/gateway/cdp-proxy-api/nifi-app/nifi-api/controller-services/d74f7a69-4b38-3a09-9a59-a2894e543856' | jq '.com | |
ponent.properties' | |
""" | |
import json | |
from pptx import Presentation | |
from pptx.util import Inches, Pt | |
from pptx.enum.text import PP_ALIGN, MSO_ANCHOR, MSO_AUTO_SIZE |
# /etc/wsl.conf
[user]
default=$USER # replace with your wsl user name
[boot]
systemd=true
[interop]
[192.0.2.10] TASK: install package (debug)> p task
TASK: install package
[192.0.2.10] TASK: install package (debug)> p task.args
{u'name': u'{{ pkg_name }}'}
[192.0.2.10] TASK: install package (debug)> p task_vars
{u'ansible_all_ipv4_addresses': [u'192.0.2.10'],
u'ansible_architecture': u'x86_64',
kubectl get secret my-secret-name -o json | jq '.data|map_values(@base64d)'
What does this do? If, for instance, a bitnami helm chart installs a database pod, the pod needs storage. By using this method here, the persistant volumes can be created on the fly without having to manually set them up.
Helpful links:
We need all machines up and running. At first we will setup the loadbalancer.
This should be working on Ubuntu together with bash.
bash-completions
should be installedkubectl
should be installed