Skip to content

Instantly share code, notes, and snippets.

@Clement-TS
Clement-TS / check-missing-images.sh
Last active January 31, 2019 14:59
Check docker images availability of a docker-compose file
#!/bin/bash
# author: Clément Désiles aka Jokester
# date: 2019-09-30
#
# requires: lstags, jq and yq
# install hints:
# $ sudo apt install -qqy jq && pip install yq
# $ wget -O /tmp/lstags.tar.gz https://github.com/ivanilves/lstags/releases/download/v1.1.2/lstags-linux-v1.1.2.tar.gz
# $ tar -xvf /tmp/lstags.tar.gz && rm -f /tmp/lstags.tar.gz
# $ mv lstags $HOME/.local/bin
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
---
- name: Prepare
hosts: all
gather_facts: false
tasks:
- name: Install python3
apt:
name: "{{ packages }}"
vars:
packages: