header eingebaut (#149)
header eingebaut Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#149 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
16b72e3dfa
commit
8dcd648f0b
18 changed files with 18 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
# This file contains confidential data and should be protected with file
|
||||
# permissions from being read by untrusted users.
|
||||
#
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
{{ file_header | default () }}
|
||||
Acquire::http::proxy "http://{{ manage_sources_apt_proxy_server | default() }}:{{ manage_sources_apt_proxy_port | default() }}";
|
||||
Acquire::https::proxy "http://{{ manage_sources_apt_proxy_server | default() }}:{{ manage_sources_apt_proxy_port | default() }}";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
{{ bdfr_log_file }} {
|
||||
missingok
|
||||
nocreate
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
/var/log/cv4pve-autosnap.log {
|
||||
su root root
|
||||
create 0640 root root
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
/var/log/rasdaemon.log {
|
||||
su root root
|
||||
create 0640 root root
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
{{ file_header | default () }}
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
echo " This system is managed by Ansible "
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
{{ file_header | default () }}
|
||||
/usr/games/fortune -s
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
{{ file_header | default () }}
|
||||
# NAME: now
|
||||
# PATH: $HOME/bin
|
||||
# DESC: Display current weather, calendar and time
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
{{ file_header | default () }}
|
||||
echo "FQDN: {{ ansible_fqdn }}"
|
||||
echo "Distro: {{ ansible_distribution }} {{ ansible_distribution_version }} {{ ansible_distribution_release }}"
|
||||
echo "Virtual: {{ 'YES' if ansible_virtualization_role == 'guest' else 'NO' }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
{{ file_header | default () }}
|
||||
stamp="/var/lib/update-notifier/updates-available"
|
||||
|
||||
([ ! -r "$stamp" ] || [ -n "$(awk '/^0/{print $1;}' "$stamp")" ]) || cat "$stamp"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
{{ file_header | default () }}
|
||||
if [ -x /usr/lib/update-notifier/update-motd-reboot-required ]; then
|
||||
exec /usr/lib/update-notifier/update-motd-reboot-required
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
{% for section,directives in munin_node_config.items() | list %}
|
||||
[{{section}}]
|
||||
{% for name,val in directives.items() | list %}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
/var/log/chrony/*.log {
|
||||
missingok
|
||||
nocreate
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
/var/log/chrony/*.log {
|
||||
missingok
|
||||
nocreate
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
/var/log/restic.log {
|
||||
su root root
|
||||
create 0640 root root
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
{{ file_header | default () }}
|
||||
user={{ restic_mount_user }}
|
||||
password={{ restic_mount_password }}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
{
|
||||
"backup_device_uuid" : "9b924961-0fd4-423f-b440-f2f3d1fa46d8",
|
||||
"parent_device_uuid" : "",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{ file_header | default () }}
|
||||
/var/log/sanoid-cron.log {
|
||||
su root root
|
||||
create 0644 root root
|
||||
|
|
Loading…
Reference in a new issue