Verbesserungen aus dem ansible-workshop2 (#24)
gitea. version bump Bugfix: apt_manage_sources: pve add Repo-Key apt_manage_sources: typo motd: Doku ntp: Doku dokuwiki: Doku sanoid: Doku sanoid: rsync entfernt motd: Doku motd: Todo entfernt Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#24 Co-Authored-By: mg <mg@noreply.git.mgrote.net> Co-Committed-By: mg <mg@noreply.git.mgrote.net>
This commit is contained in:
parent
d752ff094e
commit
bb30425c44
11 changed files with 11 additions and 18 deletions
|
@ -19,7 +19,7 @@
|
|||
comment: 'gitea'
|
||||
from_ip: 192.168.2.0/24
|
||||
### tmaurice.gitea
|
||||
gitea_version: "1.13.2"
|
||||
gitea_version: "1.13.4"
|
||||
gitea_app_name: "Gitea"
|
||||
gitea_user: "gitea"
|
||||
gitea_home: "/var/lib/gitea"
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
- repo_url: deb http://ftp.de.debian.org/debian buster main contrib
|
||||
- repo_url: deb http://ftp.de.debian.org/debian buster-updates main contrib
|
||||
- repo_url: deb http://security.debian.org buster/updates main contrib
|
||||
manage_sources_debian_repo_path: /etc/apt/sources.list.d/debian # , wol sollen die standard-repos gespeichert werden; nicht auf /etc/apt/sources setzen, diese datei wird gelöscht
|
||||
manage_sources_debian_repo_path: /etc/apt/sources.list.d/debian # wo sollen die standard-repos gespeichert werden; nicht auf /etc/apt/sources setzen, diese datei wird gelöscht
|
||||
|
|
|
@ -45,9 +45,8 @@
|
|||
ansible.builtin.apt_key:
|
||||
url: "{{ manage_sources_apt_repo_key_url }}"
|
||||
state: present
|
||||
file: "{{ manage_sources_apt_repo_key_path }}"
|
||||
register: copy_src
|
||||
when: pve_no_subscription_repo_keys.stat.exists == true
|
||||
when: pve_no_subscription_repo_keys.stat.exists == false
|
||||
|
||||
- name: add pve-no-subscription repo
|
||||
become: yes
|
||||
|
|
|
@ -32,8 +32,8 @@ Es gibt folgende Konfigurationsmoeglichkeiten:
|
|||
|
||||
### Variablen + Defaults
|
||||
##### Ort fuer Wetterangabe
|
||||
motd_wetter_ort: "Magdeburg"
|
||||
`motd_wetter_ort: "Magdeburg"`
|
||||
##### Wetter anzeigen?
|
||||
motd_wetter_aktiv: false
|
||||
`motd_wetter_aktiv: false`
|
||||
##### "fortune" anzeigen
|
||||
motd_fortune_aktiv: true
|
||||
`motd_fortune_aktiv: true`
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# ToDo
|
||||
|
||||
- [ ] Neofetch einbauen
|
||||
- [ ] Layout mehrspaltig umbauen
|
||||
- [ ] Wenn OS == PVE dann Exit
|
|
@ -14,7 +14,7 @@
|
|||
state: present
|
||||
when: ansible_facts['os_family'] == "Ubuntu"
|
||||
##################
|
||||
- name: 'Ubuntu : remove motd'
|
||||
- name: 'remove unwanted motd messages'
|
||||
become: yes
|
||||
ansible.builtin.file:
|
||||
path: '/etc/update-motd.d/{{ item }}'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
ntp_timezone: "Europe/Berlin" #Zeitzone in der sich der Cpmputer befindet
|
||||
ntp_timezone: "Europe/Berlin" # Zeitzone in der sich der Computer befindet
|
||||
ntp_driftfile_directory: "/var/lib/ntp" # Ordner für das driftfile
|
||||
ntp_servers: # welche Server sollen befragt werden
|
||||
- address: ptbtime1.ptb.de
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
notify:
|
||||
- restart ntpd
|
||||
|
||||
- name: set Zeitzone to {{ ntp_timezone }}
|
||||
- name: set timezone to {{ ntp_timezone }}
|
||||
become: yes
|
||||
ansible.builtin.timezone:
|
||||
name: "{{ ntp_timezone }}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Wann soll das sanoid-script mit cron ausgeführt werden?
|
||||
### Wann soll das sanoid-script mit cron ausgeführt werden?
|
||||
sanoid_cron_hours: '*'
|
||||
sanoid_cron_minutes: '*'
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
- software-properties-common
|
||||
- curl
|
||||
- wget
|
||||
- rsync
|
||||
- logrotate
|
||||
- libcapture-tiny-perl
|
||||
state: present
|
||||
|
|
Loading…
Reference in a new issue