Compare commits
No commits in common. "b699807642644939ebe837ac34bbeeffcb5c88ed" and "67087c4f489154b82748269a19107b4f86082ddd" have entirely different histories.
b699807642
...
67087c4f48
10 changed files with 8 additions and 55 deletions
|
@ -1,17 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
extends: relaxed
|
|
||||||
|
|
||||||
rules:
|
|
||||||
# 80 chars should be enough, but don't fail if a line is longer
|
|
||||||
line-length:
|
|
||||||
max: 200
|
|
||||||
level: warning
|
|
||||||
empty-lines:
|
|
||||||
max: 2
|
|
||||||
max-start: 1
|
|
||||||
max-end: 1
|
|
||||||
colons:
|
|
||||||
max-spaces-after: -1
|
|
||||||
commas:
|
|
||||||
max-spaces-after: -1
|
|
|
@ -15,8 +15,6 @@
|
||||||
group: "{{ item.group | default('root') }}"
|
group: "{{ item.group | default('root') }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { src: "apt.conf.j2", dest: "/etc/apt/apt.conf" }
|
- { src: "apt.conf.j2", dest: "/etc/apt/apt.conf" }
|
||||||
- { src: "apt-defaultrelease.j2", dest: "/etc/apt/apt.conf.d/09defaultrelease" }
|
|
||||||
- { src: "apt-preferences-stable.j2", dest: "/etc/apt/preferences.d/stableonly" }
|
|
||||||
- { src: "sources.list.j2", dest: "/etc/apt/sources.list" }
|
- { src: "sources.list.j2", dest: "/etc/apt/sources.list" }
|
||||||
- { src: "apt-auto-upgrades.j2", dest: "/etc/apt/apt.conf.d/20auto-upgrades" }
|
- { src: "apt-auto-upgrades.j2", dest: "/etc/apt/apt.conf.d/20auto-upgrades" }
|
||||||
- { src: "apt-unattended-upgrades.j2", dest: "/etc/apt/apt.conf.d/50unattended-upgrades" }
|
- { src: "apt-unattended-upgrades.j2", dest: "/etc/apt/apt.conf.d/50unattended-upgrades" }
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
APT::Default-Release "{{ ansible_distribution_release }}";
|
|
|
@ -1,19 +0,0 @@
|
||||||
# Prefer packages from our release
|
|
||||||
# Prevent auto-installation from testing/unstable/sid/whatever
|
|
||||||
|
|
||||||
Package: *
|
|
||||||
Pin: release n={{ ansible_distribution_release }}
|
|
||||||
Pin-Priority: 900
|
|
||||||
|
|
||||||
Package: *
|
|
||||||
Pin: release n=sid
|
|
||||||
Pin-Priority: -10
|
|
||||||
|
|
||||||
Package: *
|
|
||||||
Pin: release n=testing
|
|
||||||
Pin-Priority: -10
|
|
||||||
|
|
||||||
Package: *
|
|
||||||
Pin: release n=unstable
|
|
||||||
Pin-Priority: -10
|
|
||||||
|
|
|
@ -20,8 +20,5 @@ deb {{ debian_repourl }} {{ ansible_distribution_release }}-backports {{ compone
|
||||||
#
|
#
|
||||||
# Security patches
|
# Security patches
|
||||||
deb {{ debian_securityurl }} {{ ansible_distribution_release }}-security {{ components }}
|
deb {{ debian_securityurl }} {{ ansible_distribution_release }}-security {{ components }}
|
||||||
{{ SRC }}deb-src {{ debian_securityurl }} {{ ansible_distribution_release }}-security {{ components }}
|
{{ SRC }}deb-src {{ debian_securityurl }} {{ ansible_distribution_release }}-security main contrib non- free
|
||||||
|
|
||||||
# Testing/Unstable repos
|
|
||||||
deb {{ debian_repourl }} testing {{ components }}
|
|
||||||
deb {{ debian_repourl }} sid {{ components }}
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ server {
|
||||||
ssl_certificate /var/lib/dehydrated/certs/{{ site.server_name }}/fullchain.pem;
|
ssl_certificate /var/lib/dehydrated/certs/{{ site.server_name }}/fullchain.pem;
|
||||||
ssl_certificate_key /var/lib/dehydrated/certs/{{ site.server_name }}/privkey.pem;
|
ssl_certificate_key /var/lib/dehydrated/certs/{{ site.server_name }}/privkey.pem;
|
||||||
|
|
||||||
index {{ nginx_index | default('index.php index.html index.htm') }};
|
|
||||||
client_max_body_size {{ nginx_client_max_body_size }};
|
client_max_body_size {{ nginx_client_max_body_size }};
|
||||||
|
|
||||||
location ~ /\.ht {
|
location ~ /\.ht {
|
||||||
|
|
|
@ -6,9 +6,8 @@
|
||||||
- liblinux-inotify2-perl
|
- liblinux-inotify2-perl
|
||||||
|
|
||||||
- name: Install mqtt-simple
|
- name: Install mqtt-simple
|
||||||
ansible.builtin.apt:
|
ansible.builtin.command:
|
||||||
pkg: libnet-mqtt-simple-perl
|
cmd: cpan Net::MQTT::Simple
|
||||||
default_release: testing
|
|
||||||
|
|
||||||
- name: Install photos2mqtt
|
- name: Install photos2mqtt
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
vars:
|
vars:
|
||||||
description: "SMD630 to MQTT Probe"
|
description: "SMD630 to MQTT Probe"
|
||||||
exec: "/var/lib/power-mqtt.py %i"
|
exec: "/var/lib/power-mqtt.py %i"
|
||||||
notify: Restart power-mqtt
|
notify: Restart power-mqtt@
|
||||||
|
|
||||||
- name: Enable power-mqtt
|
- name: Enable power-mqtt
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
|
@ -40,4 +40,3 @@
|
||||||
ip: 0.0.0.0
|
ip: 0.0.0.0
|
||||||
- net: unicorndept
|
- net: unicorndept
|
||||||
ip: 0.0.0.0
|
ip: 0.0.0.0
|
||||||
ignore_errors: true # FIXME
|
|
||||||
|
|
|
@ -8,9 +8,8 @@
|
||||||
- make
|
- make
|
||||||
|
|
||||||
- name: Install mqtt-simple
|
- name: Install mqtt-simple
|
||||||
ansible.builtin.apt:
|
ansible.builtin.command:
|
||||||
pkg: libnet-mqtt-simple-perl
|
cmd: cpan Net::MQTT::Simple
|
||||||
default_release: testing
|
|
||||||
|
|
||||||
- name: Add user
|
- name: Add user
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
|
|
|
@ -8,9 +8,8 @@
|
||||||
- mosquitto
|
- mosquitto
|
||||||
|
|
||||||
- name: Install mqtt-simple
|
- name: Install mqtt-simple
|
||||||
ansible.builtin.apt:
|
community.general.cpanm:
|
||||||
pkg: libnet-mqtt-simple-perl
|
name: Net::MQTT::Simple
|
||||||
default_release: testing
|
|
||||||
|
|
||||||
- name: Clone mqtt2web source
|
- name: Clone mqtt2web source
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
|
|
Loading…
Add table
Reference in a new issue