Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Version 2.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbojko committed Jan 31, 2021
1 parent 7f03102 commit b6d03cb
Show file tree
Hide file tree
Showing 9 changed files with 163 additions and 38 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/01_lint_me.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Super-Linter

# Run this workflow every time a new commit pushed to your repository
on: push

jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
super-lint:
# Name the Job
name: Lint code base
# Set the type of machine to run on
runs-on: ubuntu-latest

steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2

# Runs the Super-Linter action
- name: Run Super-Linter
uses: github/super-linter@v3
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51 changes: 51 additions & 0 deletions .github/workflows/02_ansible_lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Ansible Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
# replace "master" with any valid ref
uses: ansible/ansible-lint-action@master
with:
# [required]
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
# or valid Ansible directories according to the Ansible role
# directory structure.
# If you want to lint multiple ansible files, use the following syntax
# targets: |
# playbook_1.yml
# playbook_2.yml
targets: |
./tasks/*.yml
./*.yaml
# [optional]
# Arguments to override a package and its version to be set explicitly.
# Must follow the example syntax.
override-deps: |
ansible==2.10
# ansible-lint==4.2.0
# [optional]
# Arguments to be passed to the ansible-lint

# Options:
# -q quieter, although not silent output
# -p parseable output in the format of pep8
# --parseable-severity parseable output including severity of rule
# -r RULESDIR specify one or more rules directories using one or
# more -r arguments. Any -r flags override the default
# rules in ansiblelint/rules, unless -R is also used.
# -R Use default rules in ansiblelint/rules in addition to
# any extra
# rules directories specified with -r. There is no need
# to specify this if no -r flags are used
# -t TAGS only check rules whose id/tags match these values
# -x SKIP_LIST only check rules whose id/tags do not match these
# values
# --nocolor disable colored output
# --exclude=EXCLUDE_PATHS
# path to directories or files to skip. This option is
# repeatable.
# -c C Specify configuration file to use. Defaults to ".ansible-lint"
args: ""
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ansible-lint:
services:
- docker:20.10-dind
before_script:
- /usr/local/bin/python -m pip install --upgrade pip
- pip install --upgrade ansible-lint yamllint
- yamllint --version
- ansible-lint --version
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: python
install:
- python -m pip install --upgrade pip
- pip install --upgrade ansible-lint yamllint
- yamllint --version
- ansible-lint --version
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog "linux_mint"

## Version 2.1.5 [2021-01-31]

* [APPLICATION] added `k3d` in version 4.0.0 - [https://k3d.io/](https://k3d.io/)
* [APPLICATION] added `raspberry pi imager` in version 1.5 [https://www.raspberrypi.org/software/](https://www.raspberrypi.org/software/)
* [APPLICATION] upgraded `k3s` to version 1.19.7
* [APPLICATION] upgraded `etcher` to version 1.5.115
* [APPLICATION] upgraded `amass` to version 3.11.2
* [APPLICATION] upgraded `docker-compose` to version 1.28.2
* [APPLICATION] upgraded `helm` to version 3.5.1
* [APPLICATION] upgraded `lens` to version 4.0.8
* [APPLICATION] upgraded `minikube` to version 1.17.1
* [APPLICATION] upgraded `polaris` to version 3.0.3
* [APPLICATION] upgraded `rke` to version 1.2.5
* [APPLICATION] upgraded `angryip` to version 3.7.4
* [APPLICATION] upgraded `hadolint` to version 1.21.0
* [APPLICATION] upgraded `terminus-alfa` to version 1.0.130
* [APPLICATION] upgraded `terraform` to version 0.14.5
* [APPLICATION] upgraded `tflint` to version 0.24.0
* [APPLICATION] upgraded `vault` to version 1.6.2

## Version 2.1.4 [2021-01-15]

* [BREAKING_CHANGE] - since version 2.2.0, planned in February support for Linux Mint 19.x will be removed
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ansible playbook for your DevOps/Super-Admin Linux Mint 19.x/20.x based workstation
# Ansible playbook for your DevOps/SysOps Linux Mint 19.x/20.x based workstation
<!-- TOC -->

- [Ansible playbook for your DevOps/Super-Admin Linux Mint 19.x/20.x based workstation](#ansible-playbook-for-your-devopssuper-admin-linux-mint-19x20x-based-workstation)
- [Ansible playbook for your DevOps/SysOps Linux Mint 19.x/20.x based workstation](#ansible-playbook-for-your-devopssysops-linux-mint-19x20x-based-workstation)
- [Prerequisites](#prerequisites)
- [Assumptions](#assumptions)
- [In-place upgraded OS warning](#in-place-upgraded-os-warning)
Expand Down Expand Up @@ -31,7 +31,7 @@

## Prerequisites

- installed `Linux Mint` 19, 19.1, 19.2, 19.3, 20.0 - all 64-bit, standard options with extra codecs (available as selection during install)
- installed `Linux Mint` 19, 19.1, 19.2, 19.3, 20.0 20.1 - all 64-bit, standard options with extra codecs (available as selection during install)
- access to Internet
- `openssh-server` installed and running
- `ansible` in version 2.9 or higher
Expand Down Expand Up @@ -137,10 +137,10 @@ Most variables are stored in `mint19|20.yaml` file. If you need extra settings,

## Custom variables, custom variable files

If you don't want to track changes or change main variable file content with every pull, create your own custom variable files. By default playbook will look for files: `mint[ansible_distribution_major_version]*.yaml`.
This means - if your distro is Linux Mint 19, place a file in a playbook folder witha name: mint19_custom.yaml
If your distro is Linux Mint 20, place a file in a playbook folder with a name: mint20_custom.yaml.
These filters are added to .gitignore to not override your changes.
If you don't want to track changes or change main variable file content with every pull, create your own custom variable files. By default playbook will look for files: `mint[ansible_distribution_major_version]*.yaml`
This means - if your distro is `Linux Mint 19`, place a file in a playbook folder witha name: `mint19_custom.yaml`
If your distro is `Linux Mint 20`, place a file in a playbook folder with a name: `mint20_custom.yaml`
These filters are added to .gitignore to not override your changes
Be careful not to add multiple matching files with corresponding names

### Custom file content
Expand Down Expand Up @@ -240,7 +240,8 @@ custom_packages:
| Google Kubectl/Kubeadm | Kubernetes Manager| [https://kubernetes.io/docs/reference/kubectl/overview/](https://kubernetes.io/docs/reference/kubectl/overview/)|
| Hadolint| Docker linter|[https://github.com/hadolint/hadolint](https://github.com/hadolint/hadolint)|
| Helm | Package manager for Kubernetes |[https://helm.sh/](https://helm.sh/)|
| k3s |Lightweight Kubernetes. 5 less than k8s.|[https://k3s.io/](https://k3s.io/)|
| k3s |Lightweight Kubernetes 5 less than k8s|[https://k3s.io/](https://k3s.io/)|
| k3d |k3d creates containerized k3s clusters|[https://k3d.io/](https://k3d.io/)|
| Keepass | Password Manager| [https://keepass.info/](https://keepass.info/)|
| Kubernetes| Production-Grade Container Orchestration|[https://kubernetes.io/](https://kubernetes.io/)|
| Kubeval| Kubernetes config validator|[https://github.com/instrumenta/kubeval](https://github.com/instrumenta/kubeval)|
Expand Down
20 changes: 20 additions & 0 deletions linux_mint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,24 @@
tags:
- assert
tasks:
- name: display_basic_information
debug:
msg:
- "Install optional packages : {{ install_optional|bool }}"
- "Install deb packages : {{ install_deb|bool }}"
- "Install_flatpak packages : {{ install_flatpak|bool }}"
- "Install vscode extensions : {{ install_vscode_extensions|bool }} "
- "Install zsh : {{ install_zsh|bool }}"
- "Config for Ansible : {{ config_ansible }}"
- "Config dconf : {{ config_dconf }}"
- "Config sysctl : {{ config_sysctl }}"
- "Bin Path to put files into : {{ bin_path }}"
- "Active user : {{ active_user|string }}"
- "Linux Mint major version : {{ ansible_distribution_major_version }}"
- name: wait_15_seconds
pause:
seconds: 15
prompt: "Check variables - last chance to abort in 15 seconds"
# we need proper time to refresh repositories
- name: make_sure_timesyncd_is_installed
apt:
Expand Down Expand Up @@ -553,6 +571,7 @@
option: "{{ item.option }}"
value: "{{ item.value|string }}"
state: present
mode: 0644
backup: yes
retries: "{{ retries_count }}"
delay: "{{ delay_time }}"
Expand Down Expand Up @@ -621,6 +640,7 @@
option: domain-name
value: alocal
no_extra_spaces: yes
mode: 0644
any_errors_fatal: false
ignore_errors: true
register: r_set_avahi_config
Expand Down
33 changes: 18 additions & 15 deletions mint19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,19 +298,20 @@ packages_optional:
- hashcat
- y-ppa-manager
deb:
- https://github.com/angryip/ipscan/releases/download/3.7.3/ipscan_3.7.3_amd64.deb
- https://github.com/angryip/ipscan/releases/download/3.7.4/ipscan_3.7.4_amd64.deb
- https://release.axocdn.com/linux/gitkraken-amd64.deb
- https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb
- https://launchpad.net/ubuntu/+archive/primary/+files/libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb
- https://github.com/BoostIO/boost-releases/releases/download/v0.16.1/boostnote_0.16.1_amd64.deb
- https://github.com/Eugeny/terminus/releases/download/v1.0.127/terminus-1.0.127-linux.deb
- https://github.com/Eugeny/terminus/releases/download/v1.0.130/terminus-1.0.130-linux.deb
- https://github.com/TheGoddessInari/hamsket/releases/download/0.6.2/hamsket_0.6.2_amd64.deb
- https://github.com/kubernetes/minikube/releases/download/v1.16.0/minikube_1.16.0-1_amd64.deb
- https://github.com/kubernetes/minikube/releases/download/v1.17.1/minikube_1.17.1-0_amd64.deb
- https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/9719/wps-office_11.1.0.9719.XA_amd64.deb
- https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb
- https://github.com/balena-io/etcher/releases/download/v1.5.114/balena-etcher-electron_1.5.114_amd64.deb
- https://github.com/balena-io/etcher/releases/download/v1.5.115/balena-etcher-electron_1.5.115_amd64.deb
- https://github.com/goodwithtech/dockle/releases/download/v0.3.1/dockle_0.3.1_Linux-64bit.deb
- https://github.com/kaikramer/keystore-explorer/releases/download/v5.4.3/kse-5.4.3.deb
- https://downloads.raspberrypi.org/imager/imager_1.5_amd64.deb
flatpak:
- name: https://flathub.org/repo/appstream/com.getpostman.Postman.flatpakref
pip_executable: pip
Expand All @@ -327,12 +328,12 @@ pip:
- jsonlint
- gittyleaks
unpack:
- url: https://get.helm.sh/helm-v3.5.0-linux-amd64.tar.gz
- url: https://get.helm.sh/helm-v3.5.1-linux-amd64.tar.gz
destination: helm
source: helm
destination_file: helm3.tar.gz
folder: linux-amd64
- url: https://github.com/OWASP/Amass/releases/download/v3.10.5/amass_linux_amd64.zip
- url: https://github.com/OWASP/Amass/releases/download/v3.11.2/amass_linux_amd64.zip
destination: amass
source: amass
folder: amass_linux_amd64
Expand All @@ -346,36 +347,38 @@ downloads:
- url: https://releases.hashicorp.com/packer/1.6.6/packer_1.6.6_linux_amd64.zip
destination: packer
skip_tree: false
- url: https://releases.hashicorp.com/terraform/0.14.4/terraform_0.14.4_linux_amd64.zip
- url: https://releases.hashicorp.com/terraform/0.14.5/terraform_0.14.5_linux_amd64.zip
destination: terraform
skip_tree: false
- url: https://releases.hashicorp.com/vault/1.6.1/vault_1.6.1_linux_amd64.zip
- url: https://releases.hashicorp.com/vault/1.6.2/vault_1.6.2_linux_amd64.zip
destination: vault
skip_tree: false
- url: https://github.com/terraform-linters/tflint/releases/download/v0.23.1/tflint_linux_amd64.zip
- url: https://github.com/terraform-linters/tflint/releases/download/v0.24.0/tflint_linux_amd64.zip
destination: tflint
skip_tree: false
- url: https://github.com/ffuf/ffuf/releases/download/v1.0.2/ffuf_1.0.2_linux_amd64.tar.gz
destination: ffluf
skip_tree: false
- url: https://github.com/FairwindsOps/polaris/releases/download/3.0.0/polaris_3.0.0_linux_amd64.tar.gz
- url: https://github.com/FairwindsOps/polaris/releases/download/3.0.3/polaris_3.0.3_linux_amd64.tar.gz
destination: polaris
skip_tree: false
files:
- url: https://github.com/docker/compose/releases/download/1.27.4/docker-compose-Linux-x86_64
- url: https://github.com/docker/compose/releases/download/1.28.2/docker-compose-Linux-x86_64
destination: docker-compose
- url: https://github.com/bcicen/ctop/releases/download/v0.7.5/ctop-0.7.5-linux-amd64
destination: ctop
- url: https://github.com/rancher/rke/releases/download/v1.2.4/rke_linux-amd64
- url: https://github.com/rancher/rke/releases/download/v1.2.5/rke_linux-amd64
destination: rke
- url: https://github.com/dannagle/PacketSender/releases/download/v7.0.5/PacketSender_v7.0.5.AppImage
destination: packetsender
desktop_file: ./files/apps/packetsender/packetsender.desktop
- url: https://github.com/rancher/k3s/releases/download/v1.19.5%2Bk3s1/k3s
- url: https://github.com/k3s-io/k3s/releases/download/v1.19.7%2Bk3s1/k3s
destination: k3s
- url: https://github.com/hadolint/hadolint/releases/download/v1.19.0/hadolint-Linux-x86_64
- url: https://github.com/rancher/k3d/releases/download/v4.0.0/k3d-linux-amd64
destination: k3d
- url: https://github.com/hadolint/hadolint/releases/download/v1.21.0/hadolint-Linux-x86_64
destination: hadolint
- url: https://github.com/lensapp/lens/releases/download/v4.0.6/Lens-4.0.6.AppImage
- url: https://github.com/lensapp/lens/releases/download/v4.0.8/Lens-4.0.8.AppImage
destination: lens
desktop_file: ./files/apps/lens/lens.desktop
#mitogen:
Expand Down
33 changes: 18 additions & 15 deletions mint20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,20 +304,21 @@ packages_optional:
- hashcat
- y-ppa-manager
deb:
- https://github.com/angryip/ipscan/releases/download/3.7.3/ipscan_3.7.3_amd64.deb
- https://github.com/angryip/ipscan/releases/download/3.7.4/ipscan_3.7.4_amd64.deb
- https://release.axocdn.com/linux/gitkraken-amd64.deb
- https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb
- https://github.com/BoostIO/boost-releases/releases/download/v0.16.1/boostnote_0.16.1_amd64.deb
- https://github.com/Eugeny/terminus/releases/download/v1.0.127/terminus-1.0.127-linux.deb
- https://github.com/Eugeny/terminus/releases/download/v1.0.130/terminus-1.0.130-linux.deb
- https://github.com/TheGoddessInari/hamsket/releases/download/0.6.2/hamsket_0.6.2_amd64.deb
- https://github.com/kubernetes/minikube/releases/download/v1.16.0/minikube_1.16.0-1_amd64.deb
- https://github.com/kubernetes/minikube/releases/download/v1.17.1/minikube_1.17.1-0_amd64.deb
- https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/9719/wps-office_11.1.0.9719.XA_amd64.deb
- https://github.com/wagoodman/dive/releases/download/v0.9.2/dive_0.9.2_linux_amd64.deb
- https://github.com/balena-io/etcher/releases/download/v1.5.114/balena-etcher-electron_1.5.114_amd64.deb
- https://github.com/balena-io/etcher/releases/download/v1.5.115/balena-etcher-electron_1.5.115_amd64.deb
- https://github.com/goodwithtech/dockle/releases/download/v0.3.1/dockle_0.3.1_Linux-64bit.deb
- http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
- https://github.com/kaikramer/keystore-explorer/releases/download/v5.4.4/kse_5.4.4_all.deb
- http://archive.ubuntu.com/ubuntu/pool/universe/n/nmap/zenmap_7.60-1ubuntu5_all.deb
- https://downloads.raspberrypi.org/imager/imager_1.5_amd64.deb
flatpak:
- name: https://flathub.org/repo/appstream/com.getpostman.Postman.flatpakref
pip_executable: pip3
Expand All @@ -334,12 +335,12 @@ pip:
- jsonlint
- gittyleaks
unpack:
- url: https://get.helm.sh/helm-v3.5.0-linux-amd64.tar.gz
- url: https://get.helm.sh/helm-v3.5.1-linux-amd64.tar.gz
destination: helm
source: helm
destination_file: helm3.tar.gz
folder: linux-amd64
- url: https://github.com/OWASP/Amass/releases/download/v3.10.5/amass_linux_amd64.zip
- url: https://github.com/OWASP/Amass/releases/download/v3.11.2/amass_linux_amd64.zip
destination: amass
source: amass
folder: amass_linux_amd64
Expand All @@ -353,36 +354,38 @@ downloads:
- url: https://releases.hashicorp.com/packer/1.6.6/packer_1.6.6_linux_amd64.zip
destination: packer
skip_tree: false
- url: https://releases.hashicorp.com/terraform/0.14.4/terraform_0.14.4_linux_amd64.zip
- url: https://releases.hashicorp.com/terraform/0.14.5/terraform_0.14.5_linux_amd64.zip
destination: terraform
skip_tree: false
- url: https://releases.hashicorp.com/vault/1.6.1/vault_1.6.1_linux_amd64.zip
- url: https://releases.hashicorp.com/vault/1.6.2/vault_1.6.2_linux_amd64.zip
destination: vault
skip_tree: false
- url: https://github.com/terraform-linters/tflint/releases/download/v0.23.1/tflint_linux_amd64.zip
- url: https://github.com/terraform-linters/tflint/releases/download/v0.24.0/tflint_linux_amd64.zip
destination: tflint
skip_tree: false
- url: https://github.com/ffuf/ffuf/releases/download/v1.0.2/ffuf_1.0.2_linux_amd64.tar.gz
destination: ffluf
skip_tree: false
- url: https://github.com/FairwindsOps/polaris/releases/download/3.0.0/polaris_3.0.0_linux_amd64.tar.gz
- url: https://github.com/FairwindsOps/polaris/releases/download/3.0.3/polaris_3.0.3_linux_amd64.tar.gz
destination: polaris
skip_tree: false
files:
- url: https://github.com/docker/compose/releases/download/1.27.4/docker-compose-Linux-x86_64
- url: https://github.com/docker/compose/releases/download/1.28.2/docker-compose-Linux-x86_64
destination: docker-compose
- url: https://github.com/bcicen/ctop/releases/download/v0.7.5/ctop-0.7.5-linux-amd64
destination: ctop
- url: https://github.com/rancher/rke/releases/download/v1.2.4/rke_linux-amd64
- url: https://github.com/rancher/rke/releases/download/v1.2.5/rke_linux-amd64
destination: rke
- url: https://github.com/dannagle/PacketSender/releases/download/v7.0.5/PacketSender_v7.0.5.AppImage
destination: packetsender
desktop_file: ./files/apps/packetsender/packetsender.desktop
- url: https://github.com/rancher/k3s/releases/download/v1.19.5%2Bk3s1/k3s
- url: https://github.com/k3s-io/k3s/releases/download/v1.19.7%2Bk3s1/k3s
destination: k3s
- url: https://github.com/hadolint/hadolint/releases/download/v1.19.0/hadolint-Linux-x86_64
- url: https://github.com/rancher/k3d/releases/download/v4.0.0/k3d-linux-amd64
destination: k3d
- url: https://github.com/hadolint/hadolint/releases/download/v1.21.0/hadolint-Linux-x86_64
destination: hadolint
- url: https://github.com/lensapp/lens/releases/download/v4.0.6/Lens-4.0.6.AppImage
- url: https://github.com/lensapp/lens/releases/download/v4.0.8/Lens-4.0.8.AppImage
destination: lens
desktop_file: ./files/apps/lens/lens.desktop
#mitogen:
Expand Down

0 comments on commit b6d03cb

Please sign in to comment.