Sections

Presentation Gita is opensource project in python to handle a bit number of projects available: Here # Install pip3 install -U gita # add repo in gita gita add dcc/ssg/toolset gita add -r dcc/ssg # recursively add gita add -a dcc # resursively add and auto-group based on folder structure # create a group gita group...

Prerequis - Firewalld activated, important otherwise the routing to the app is not working - Podman, jq installed Import image podman pull docker.io/gitea/gitea:1-rootless podman save docker.io/gitea/gitea:1-rootless -o gitea-rootless.tar podman load < gitea-rootless.tar Install cat...

See also documentation about Podman and Docker How to use a docker regsitry # list index catalog curl https://registry.k3s.example.com/v2/_catalog | jq # List tags available regarding an image curl https://registry.k3s.example.com/v2/myhaproxy/tags/list # list index catalog - with user/password curl...

Get tag_name from latest export RKE_VERSION=$(curl -s https://update.rke2.io/v1-release/channels | jq -r '.data[] | select(.id=="stable") | .latest' | awk -F"+" '{print $1}'| sed 's/v//') export CERT_VERSION=$(curl -s https://api.github.com/repos/cert-manager/cert-manager/releases/latest | jq -r .tag_name) export...

List ansible-galaxy collection list Install an Ansible Collection # From Ansible Galaxy official repo ansible-galaxy collection install community.general # From a tarball locally ansible-galaxy collection install ./community-general-6.0.0.tar.gz # From custom Repo ansible-galaxy collection install...

ansible-inventory --list | jq -r 'map_values(select(.hosts != null and (.hosts | contains(["myhost"])))) | keys[]' kafka_host: "[{{ groups['KAFKA'] | map('extract', hostvars, 'inventory_hostname') | map('regex_replace', '^', '\"') | map('regex_replace', '\\\"', '\"') | map('regex_replace', '$', ':'+ kafka_port +'\"') |...

Validate Terraform code dirs -c for DIR in $(find ./examples -type d); do pushd $DIR terraform init terraform fmt -check terraform validate popd done Execute Terraform export DO_PAT="dop_v1_xxxxxxxxxxxxxxxx" doctl auth init --context rkub # inside a dir with a tf file terraform init terraform validate terraform plan...

Description Buildah: is used to build Open Container Initiative (OCI) format or Docker format container images without the need for a daemon. Podman: provides the ability to directly run container images without a daemon. Podman can pull container images from a container registry, if they are not available locally....

# see images available on your hosts docker image list # equal to above docker images REPOSITORY TAG IMAGE ID CREATED SIZE httpd latest 6fa26f20557b 45 hours ago 164MB hello-world latest 75280d40a50b 4 months ago 1.69kB # give sha docker images --no-trunc=true # delete unused images docker rmi $(docker images -q) #...