Skip to content

Instantly share code, notes, and snippets.

View sajjadG's full-sized avatar
☺️
Feeling Good

Sajjad Gerami sajjadG

☺️
Feeling Good
View GitHub Profile
@sajjadG
sajjadG / defaults.yml
Last active August 8, 2022 06:58 — forked from devster31/swap.yml
Ansible role for creating a Swap file
swap_space: 2G
@sajjadG
sajjadG / .gitlab-ci.yml
Created April 11, 2022 06:53
.gitlab-ci.yml example2
image: docker:19.03.12
# services:
# - docker:19.03.12-dind
variables:
# DOCKER_DRIVER: overlay2
# DOCKER_TLS_CERTDIR: ""
PROJECT_NAME: my-project
@sajjadG
sajjadG / .gitlab-ci.yml
Created April 11, 2022 06:51
.gitlab-ci.yml example1
image: docker:19.03.12
# services:
# - docker:19.03.12-dind
variables:
# DOCKER_DRIVER: overlay2
# DOCKER_TLS_CERTDIR: ""
PROJECT_NAME: my-project
@sajjadG
sajjadG / create-cloud-template.sh
Last active May 9, 2021 19:13 — forked from Oratorian/create-cloud-template.sh
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr0