Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6994cc6000 | ||
| 789eeeb8c9 | |||
| 7c359f2070 | |||
| 2365f3644c | |||
| b170189008 | |||
| 158b836626 | |||
| 2aa5146af2 |
@@ -1,2 +1 @@
|
|||||||
/opt/docker
|
|
||||||
/var/lib/docker/volumes
|
/var/lib/docker/volumes
|
||||||
|
|||||||
0
roles/backup/files/config/podman01_excludes.txt
Normal file
0
roles/backup/files/config/podman01_excludes.txt
Normal file
1
roles/backup/files/config/podman01_includes.txt
Normal file
1
roles/backup/files/config/podman01_includes.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/var/lib/containers
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
hosts_to_backup:
|
hosts_to_backup:
|
||||||
- { hostname: "mariadb02", fqdn: "mariadb02.universe.local." }
|
- { hostname: "mariadb02", fqdn: "mariadb02.universe.local." }
|
||||||
- { hostname: "haproxy02", fqdn: "haproxy02.universe.local." }
|
- { hostname: "haproxy02", fqdn: "haproxy02.universe.local." }
|
||||||
- { hostname: "AdGuard", fqdn: "AdGuard.universe.local." }
|
- { hostname: "mail", fqdn: "mail.universe.local." }
|
||||||
- { hostname: "owntrack", fqdn: "owntrack.universe.local." }
|
- { hostname: "owntrack", fqdn: "owntrack.universe.local." }
|
||||||
- { hostname: "endor", fqdn: "endor.universe.local." }
|
- { hostname: "endor", fqdn: "endor.universe.local." }
|
||||||
- { hostname: "step-ca", fqdn: "step-ca.universe.local." }
|
- { hostname: "step-ca", fqdn: "step-ca.universe.local." }
|
||||||
@@ -10,36 +10,42 @@ hosts_to_backup:
|
|||||||
- { hostname: "searx", fqdn: "searx.universe.local." }
|
- { hostname: "searx", fqdn: "searx.universe.local." }
|
||||||
- { hostname: "dnspri", fqdn: "dnspri.universe.local." }
|
- { hostname: "dnspri", fqdn: "dnspri.universe.local." }
|
||||||
- { hostname: "gs1900-8hp", fqdn: "gs1900-8hp.universe.local." }
|
- { hostname: "gs1900-8hp", fqdn: "gs1900-8hp.universe.local." }
|
||||||
|
- { hostname: "librenms", fqdn: "librenms.universe.local." }
|
||||||
- { hostname: "webserver", fqdn: "webserver.universe.local." }
|
- { hostname: "webserver", fqdn: "webserver.universe.local." }
|
||||||
- { hostname: "agh01", fqdn: "agh01.universe.local." }
|
- { hostname: "agh01", fqdn: "agh01.universe.local." }
|
||||||
- { hostname: "mastodon", fqdn: "mastodon.universe.local." }
|
- { hostname: "mastodon", fqdn: "mastodon.universe.local." }
|
||||||
|
- { hostname: "icinga", fqdn: "icinga.universe.local." }
|
||||||
- { hostname: "haproxy01", fqdn: "haproxy01.universe.local." }
|
- { hostname: "haproxy01", fqdn: "haproxy01.universe.local." }
|
||||||
|
- { hostname: "freeradius", fqdn: "freeradius.universe.local." }
|
||||||
- { hostname: "dhcp-kea", fqdn: "dhcp-kea.universe.local." }
|
- { hostname: "dhcp-kea", fqdn: "dhcp-kea.universe.local." }
|
||||||
- { hostname: "pi-alert-lan", fqdn: "pi-alert-lan.universe.local." }
|
- { hostname: "pi-alert-lan", fqdn: "pi-alert-lan.universe.local." }
|
||||||
- { hostname: "mariadb01", fqdn: "mariadb01.universe.local." }
|
- { hostname: "mariadb01", fqdn: "mariadb01.universe.local." }
|
||||||
- { hostname: "dhcp-stork", fqdn: "dhcp-stork.universe.local." }
|
- { hostname: "dhcp-stork", fqdn: "dhcp-stork.universe.local." }
|
||||||
|
- { hostname: "paperless", fqdn: "paperless.universe.local." }
|
||||||
- { hostname: "truenas", fqdn: "truenas.universe.local." }
|
- { hostname: "truenas", fqdn: "truenas.universe.local." }
|
||||||
|
- { hostname: "grafana", fqdn: "grafana.universe.local." }
|
||||||
- { hostname: "idrac-dell", fqdn: "idrac-dell.universe.local." }
|
- { hostname: "idrac-dell", fqdn: "idrac-dell.universe.local." }
|
||||||
- { hostname: "docker01", fqdn: "docker01.universe.local." }
|
- { hostname: "docker01", fqdn: "docker01.universe.local." }
|
||||||
- { hostname: "pi-alert", fqdn: "pi-alert.universe.local." }
|
- { hostname: "pi-alert", fqdn: "pi-alert.universe.local." }
|
||||||
- { hostname: "tatooine", fqdn: "tatooine.universe.local." }
|
- { hostname: "pixelfed", fqdn: "pixelfed.universe.local." }
|
||||||
- { hostname: "pve2", fqdn: "pve2.universe.local." }
|
- { hostname: "pve2", fqdn: "pve2.universe.local." }
|
||||||
- { hostname: "dnssec2", fqdn: "dnssec2.universe.local." }
|
- { hostname: "dnssec2", fqdn: "dnssec2.universe.local." }
|
||||||
- { hostname: "pve", fqdn: "pve.universe.local." }
|
- { hostname: "pve", fqdn: "pve.universe.local." }
|
||||||
- { hostname: "jitsimeet", fqdn: "jitsimeet.universe.local." }
|
|
||||||
- { hostname: "haproxy", fqdn: "haproxy.universe.local." }
|
- { hostname: "haproxy", fqdn: "haproxy.universe.local." }
|
||||||
- { hostname: "homeassistant", fqdn: "homeassistant.universe.local." }
|
- { hostname: "homeassistant", fqdn: "homeassistant.universe.local." }
|
||||||
- { hostname: "ns1", fqdn: "ns1.universe.local." }
|
- { hostname: "ns1", fqdn: "ns1.universe.local." }
|
||||||
- { hostname: "pve-ha", fqdn: "pve-ha.universe.local." }
|
|
||||||
- { hostname: "backup", fqdn: "backup.universe.local." }
|
- { hostname: "backup", fqdn: "backup.universe.local." }
|
||||||
- { hostname: "tinyproxy", fqdn: "tinyproxy.universe.local." }
|
- { hostname: "tinyproxy", fqdn: "tinyproxy.universe.local." }
|
||||||
- { hostname: "bastion", fqdn: "bastion.universe.local." }
|
|
||||||
- { hostname: "tatooine2", fqdn: "tatooine2.universe.local." }
|
- { hostname: "tatooine2", fqdn: "tatooine2.universe.local." }
|
||||||
- { hostname: "mailcow", fqdn: "mailcow.universe.local." }
|
- { hostname: "mailcow", fqdn: "mailcow.universe.local." }
|
||||||
- { hostname: "netbox", fqdn: "netbox.universe.local." }
|
- { hostname: "netbox", fqdn: "netbox.universe.local." }
|
||||||
|
- { hostname: "AdGuard", fqdn: "AdGuard.universe.local." }
|
||||||
- { hostname: "samba-ad-dc2", fqdn: "samba-ad-dc2.universe.local." }
|
- { hostname: "samba-ad-dc2", fqdn: "samba-ad-dc2.universe.local." }
|
||||||
|
- { hostname: "graylog", fqdn: "graylog.universe.local." }
|
||||||
- { hostname: "bmc-truenas", fqdn: "bmc-truenas.universe.local." }
|
- { hostname: "bmc-truenas", fqdn: "bmc-truenas.universe.local." }
|
||||||
|
- { hostname: "shinobi", fqdn: "shinobi.universe.local." }
|
||||||
- { hostname: "nextcloud", fqdn: "nextcloud.universe.local." }
|
- { hostname: "nextcloud", fqdn: "nextcloud.universe.local." }
|
||||||
|
- { hostname: "podman01", fqdn: "podman01.universe.local." }
|
||||||
- { hostname: "docker02", fqdn: "docker02.universe.local." }
|
- { hostname: "docker02", fqdn: "docker02.universe.local." }
|
||||||
- { hostname: "dnssec1", fqdn: "dnssec1.universe.local." }
|
- { hostname: "dnssec1", fqdn: "dnssec1.universe.local." }
|
||||||
- { hostname: "samba-ad-dc1", fqdn: "samba-ad-dc1.universe.local." }
|
- { hostname: "samba-ad-dc1", fqdn: "samba-ad-dc1.universe.local." }
|
||||||
|
|||||||
@@ -22,10 +22,10 @@
|
|||||||
validate: "visudo -cf %s"
|
validate: "visudo -cf %s"
|
||||||
when: ansible_facts['os_family'] == "Archlinux"
|
when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
|
||||||
- name: "[Arch] Install AUR helper"
|
# - name: "[Arch] Install AUR helper"
|
||||||
community.general.aur:
|
# community.general.aur:
|
||||||
name: "{{ aur_helper }}"
|
# name: "{{ aur_helper }}"
|
||||||
state: present
|
# state: present
|
||||||
use: makepkg
|
# use: makepkg
|
||||||
become_user: "{{ aur_build_user }}"
|
# become_user: "{{ aur_build_user }}"
|
||||||
when: ansible_facts['os_family'] == "Archlinux"
|
# when: ansible_facts['os_family'] == "Archlinux"
|
||||||
|
|||||||
@@ -6,9 +6,7 @@
|
|||||||
container_name_include = []
|
container_name_include = []
|
||||||
container_name_exclude = []
|
container_name_exclude = []
|
||||||
timeout = "5s"
|
timeout = "5s"
|
||||||
perdevice = false
|
|
||||||
perdevice_include = ["cpu", "blkio", "network"]
|
perdevice_include = ["cpu", "blkio", "network"]
|
||||||
total = false
|
|
||||||
total_include = ["cpu", "blkio", "network"]
|
total_include = ["cpu", "blkio", "network"]
|
||||||
docker_label_include = []
|
docker_label_include = []
|
||||||
docker_label_exclude = []
|
docker_label_exclude = []
|
||||||
@@ -24,12 +24,12 @@
|
|||||||
|
|
||||||
- name: server | telegraf | verify and import key
|
- name: server | telegraf | verify and import key
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "gpg --show-keys --with-fingerprint --with-colons /tmp/influxdata.key 2>&1 | grep -q '^fpr:\\+24C975CBA61A024EE1B631787C3D57159FC2F927:$' && cat /tmp/influxdata.key | gpg --dearmor | tee /etc/apt/keyrings/influxdata.gpg > /dev/null"
|
cmd: "gpg --show-keys --with-fingerprint --with-colons /tmp/influxdata.key 2>&1 | grep -q '^fpr:\\+24C975CBA61A024EE1B631787C3D57159FC2F927:$' && cat /tmp/influxdata.key | gpg --dearmor | tee /usr/share/keyrings/influxdata.gpg > /dev/null"
|
||||||
creates: "/etc/apt/trusted.gpg.d/influxdata.gpg"
|
creates: "/usr/share/keyrings/influxdata.gpg"
|
||||||
|
|
||||||
- name: server | telegraf | add repository
|
- name: server | telegraf | add repository
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "echo 'deb [signed-by=/etc/apt/keyrings/influxdata.gpg] https://repos.influxdata.com/debian stable main' | tee /etc/apt/sources.list.d/influxdata.list"
|
cmd: "echo 'deb [signed-by=/usr/share/keyrings/influxdata.gpg] https://repos.influxdata.com/debian stable main' | tee /etc/apt/sources.list.d/influxdata.list"
|
||||||
creates: "/etc/apt/sources.list.d/influxdata.list"
|
creates: "/etc/apt/sources.list.d/influxdata.list"
|
||||||
|
|
||||||
- name: server | telegraf | install telegraf
|
- name: server | telegraf | install telegraf
|
||||||
|
|||||||
Reference in New Issue
Block a user