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

Commit

Permalink
Version 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbojko committed Feb 21, 2021
1 parent 025deaa commit d4281b8
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog "linux_mint"

## Version 2.2.1 [2021-02-21]

* [APPLICATION] upgrade `dockle` to version 0.3.9
* added `install_npm` variable
* added `npm` packages in `npm` section of values file

## Version 2.2.0 [2021-02-20]

* This version shares application config from 2.1.6 version but:
Expand Down
27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Ansible playbook for your DevOps/SysOps Linux Mint 19.x/20.x based workstation
# Ansible playbook for your DevOps/SysOps Linux Mint 20.x based workstation

[![Build Status](https://travis-ci.org/marcinbojko/linux_mint.svg?branch=master)](https://travis-ci.org/marcinbojko/linux_mint)
[![Super-Linter](https://github.com/marcinbojko/linux_mint/actions/workflows/01_lint_me.yml/badge.svg)](https://github.com/marcinbojko/linux_mint/actions/workflows/01_lint_me.yml)
[![Ansible Lint](https://github.com/marcinbojko/linux_mint/actions/workflows/02_ansible_lint.yml/badge.svg)](https://github.com/marcinbojko/linux_mint/actions/workflows/02_ansible_lint.yml)
<!-- TOC -->

- [Ansible playbook for your DevOps/SysOps Linux Mint 19.x/20.x based workstation](#ansible-playbook-for-your-devopssysops-linux-mint-19x20x-based-workstation)
- [Ansible playbook for your DevOps/SysOps Linux Mint 20.x based workstation](#ansible-playbook-for-your-devopssysops-linux-mint-20x-based-workstation)
- [Prerequisites](#prerequisites)
- [Ansible 2.10 and higher reminder](#ansible-210-and-higher-reminder)
- [Assumptions](#assumptions)
Expand All @@ -20,6 +24,7 @@
- [Packages: Basic not complete list](#packages-basic-not-complete-list)
- [Packages: Optional not complete list](#packages-optional-not-complete-list)
- [Packages: Flatpak](#packages-flatpak)
- [Packages: npm](#packages-npm)
- [Startup applications](#startup-applications)
- [OS Tweaks](#os-tweaks)
- [Q&A](#qa)
Expand All @@ -28,11 +33,9 @@

<!-- /TOC -->

[![Build Status](https://travis-ci.org/marcinbojko/linux_mint.svg?branch=master)](https://travis-ci.org/marcinbojko/linux_mint)

## Prerequisites

- installed `Linux Mint` 20.0 20.1 - all 64-bit, standard options with extra codecs (available as selection during install)
- installed `Linux Mint` 20.0/20.1 - all 64-bit, standard options with extra codecs (available as selection during install)
- for previous versions of Mint - last release supporting `Linux Mint 19` was 2.1.6
- access to Internet
- `openssh-server` installed and running
Expand Down Expand Up @@ -130,7 +133,8 @@ Most variables are stored in `mint19|20.yaml` file. If you need extra settings,
|--------|-------|-----------|
|install_optional|true|should optional packages be installed|
|install_deb|true|should extra deb packages should be installed|
|install_flatpak|true|should flatpak packages be installed
|install_flatpak|true|should flatpak packages be installed|
|install_npm|true|should npm packages be installed|
|install_vscode_extensions|true|should we install extra vscode extensions|
|install_zsh|false|should we install oh-my-zsh and p10k theme|
|install_state|latest|if set to latest, every pass of playbook will also update packages|
Expand All @@ -143,6 +147,7 @@ Most variables are stored in `mint19|20.yaml` file. If you need extra settings,
|bin_path|/usr/local/bin|Where to put all downloaded execs|
|reboot_required|false|force reboot even if apt upgrade won't change anything|
|unpack_folder|/tmp/linux_mint|Which folder to use when downloading and unarchiving|
|||

## Custom variables, custom variable files

Expand Down Expand Up @@ -276,6 +281,7 @@ custom_packages:
| Visual Studio Code|Code editor|[https://code.visualstudio.com/](https://code.visualstudio.com/)|
| WPS Office for Linux | Productivity Tools | [https://www.wps.com/wps-office-for-linux/](https://www.wps.com/wps-office-for-linux/)
| XCA | Certificate Manager|[https://hohnstaedt.de/xca/](https://hohnstaedt.de/xca/)|
|||

### Packages: Optional (not complete list)

Expand All @@ -299,12 +305,21 @@ custom_packages:
| Veeam Agent for Linux | Backup tool| [https://www.veeam.com](https://www.veeam.com)|
| Veracrypt | Source disk encryption | [https://www.veracrypt.fr/en/Home.html](https://www.veracrypt.fr/en/Home.html)|
| WoeUSB | USB Image writer | [https://github.com/slacka/WoeUSB](https://github.com/slacka/WoeUSB)|
|||

### Packages: Flatpak

|Software|Type|Link|
|------------------|--------|---------------------|
|Postman|The Collaboration Platform for API Development|[https://www.getpostman.com/](https://www.getpostman.com/)|
|||

### Packages: npm

|Software|Type|Link|
|------------------|--------|---------------------|
|Dockerfilelint|Dockerfile linter|[https://github.com/replicatedhq/dockerfilelint](https://github.com/replicatedhq/dockerfilelint)|
|||

## Startup applications

Expand Down
19 changes: 18 additions & 1 deletion linux_mint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
vars:
install_optional: true # should optional packages be installed?
install_deb: true # should extra deb packages should be installed
install_flatpak: true
install_flatpak: true # should we install flatpak software
install_vscode_extensions: true # should we install extra vscode extensions
install_npm: true # should we install npm packages
install_zsh: false # install and configure oh-my-zhs and power10k
install_state: latest # if set to latest, every pass of playbook will also update packages
config_ansible: true # do changes in change ansible.cfg
Expand Down Expand Up @@ -79,6 +80,7 @@
- "Install optional packages : {{ install_optional|bool }}"
- "Install deb packages : {{ install_deb|bool }}"
- "Install_flatpak packages : {{ install_flatpak|bool }}"
- "Install_npm packages : {{ install_npm|bool }}"
- "Install vscode extensions : {{ install_vscode_extensions|bool }} "
- "Install zsh : {{ install_zsh|bool }}"
- "Config for Ansible : {{ config_ansible }}"
Expand Down Expand Up @@ -394,6 +396,21 @@
tags:
- packages
- flatpak
- name: install_npm_packages
community.general.npm:
name: "{{ item.name|string }}"
state: "{{ item.state|string }}"
global: yes
loop: "{{ npm }}"
retries: "{{ retries_count }}"
delay: "{{ delay_time }}"
register: r_install_npm
until: r_install_npm is success
any_errors_fatal: false
when: install_npm
tags:
- packages
- npm
# Download 3-rd party software and unarchive it to `bin_path` setting +x
- name: check_if_bin_path_exists
file:
Expand Down
12 changes: 6 additions & 6 deletions mint20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,14 +314,19 @@ deb:
- https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/10161/wps-office_11.1.0.10161.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.116/balena-etcher-electron_1.5.116_amd64.deb
- https://github.com/goodwithtech/dockle/releases/download/v0.3.1/dockle_0.3.1_Linux-64bit.deb
- https://github.com/goodwithtech/dockle/releases/download/v0.3.9/dockle_0.3.9_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
- https://github.com/lensapp/lens/releases/download/v4.1.2/Lens-4.1.2.amd64.deb
flatpak:
- name: https://flathub.org/repo/appstream/com.getpostman.Postman.flatpakref
npm:
- name: npm
state: latest
- name: dockerfilelint
state: latest
pip_executable: pip3
pip:
- pip
Expand All @@ -346,11 +351,6 @@ unpack:
source: amass
folder: amass_linux_amd64
destination_file: amass.zip
- url: https://github.com/instrumenta/kubeval/releases/download/0.15.0/kubeval-linux-amd64.tar.gz
destination: kubeval
source: kubeval
folder:
destination_file: kubeval-linux-amd64.tar.gz
- url: https://github.com/yannh/kubeconform/releases/download/v0.4.3/kubeconform-linux-amd64.tar.gz
destination: kubeconform
source: kubeconform
Expand Down

0 comments on commit d4281b8

Please sign in to comment.