Unify motd definition

This commit is contained in:
Salt 2021-08-07 16:52:19 -05:00
parent 30dd4ff8dc
commit 38f70d0fca
7 changed files with 9 additions and 40 deletions

View File

@ -6,11 +6,6 @@
roles: roles:
- role: backup - role: backup
tags: [ backup ] tags: [ backup ]
- role: motd
vars:
motd_watch_services_extra:
- postgresql
tags: [ motd ]
- role: postgresql - role: postgresql
vars: vars:
postgresql_global_config_options: postgresql_global_config_options:

View File

@ -25,8 +25,6 @@
backup_s3backup_list_extra: backup_s3backup_list_extra:
- /home/salt/.backup/ - /home/salt/.backup/
tags: [ backup ] tags: [ backup ]
- role: motd
tags: [ motd ]
- role: udev - role: udev
vars: vars:
udev_rules: udev_rules:

View File

@ -11,11 +11,6 @@
backup_s3backup_exclude_list_extra: backup_s3backup_exclude_list_extra:
- /data/minecraft/valhelsia3/backups - /data/minecraft/valhelsia3/backups
tags: [ backup ] tags: [ backup ]
- role: motd
vars:
motd_watch_services_extra:
- docker
tags: [ motd ]
- role: docker - role: docker
tags: [ docker, skip-pull ] tags: [ docker, skip-pull ]
- hosts: game1.desu.ltd - hosts: game1.desu.ltd

View File

@ -7,12 +7,6 @@
roles: roles:
- role: k8s - role: k8s
tags: [ k8s, skip-pull ] tags: [ k8s, skip-pull ]
- role: motd
vars:
motd_watch_services_extra:
- docker
- kubelet
tags: [ k8s, motd ]
- hosts: tags_pik8s-master - hosts: tags_pik8s-master
gather_facts: no gather_facts: no
tasks: tasks:

View File

@ -35,11 +35,6 @@
- /srv/nfs/k8s/default/web-transmission-config-pvc - /srv/nfs/k8s/default/web-transmission-config-pvc
backup_time: "Mon *-*-* 02:00:00" backup_time: "Mon *-*-* 02:00:00"
tags: [ backup ] tags: [ backup ]
- role: motd
vars:
motd_watch_services_extra:
- docker
- postgresql
- role: postgresql - role: postgresql
vars: vars:
postgresql_global_config_options: postgresql_global_config_options:

View File

@ -47,13 +47,6 @@
- /var/lib/gitea/log - /var/lib/gitea/log
- /data/gitea/data/gitea/log - /data/gitea/data/gitea/log
tags: [ backup ] tags: [ backup ]
- role: motd
vars:
motd_watch_services_extra:
- apache2
- docker
- php7.4-fpm
tags: [ motd ]
- role: docker - role: docker
tags: [ web, docker, skip-pull ] tags: [ web, docker, skip-pull ]
- role: certbot - role: certbot
@ -134,11 +127,6 @@
backup_s3backup_list_extra: backup_s3backup_list_extra:
- /data - /data
tags: [ backup ] tags: [ backup ]
- role: motd
vars:
motd_watch_services_extra:
- docker
tags: [ motd ]
- role: docker - role: docker
tags: [ web, docker, skip-pull ] tags: [ web, docker, skip-pull ]
- hosts: web3.desu.ltd - hosts: web3.desu.ltd
@ -190,10 +178,5 @@
backup_s3backup_list_extra: backup_s3backup_list_extra:
- /data - /data
tags: [ backup ] tags: [ backup ]
- role: motd
vars:
motd_watch_services_extra:
- docker
tags: [ motd ]
- role: docker - role: docker
tags: [ web, docker, skip-pull ] tags: [ web, docker, skip-pull ]

View File

@ -8,6 +8,15 @@
tags: [ common ] tags: [ common ]
- role: adminuser - role: adminuser
tags: [ adminuser, common ] tags: [ adminuser, common ]
- role: motd
vars:
motd_watch_services_extra:
- apache2
- docker
- kubelet
- php7.4-fpm
- postgresql
tags: [ motd, common ]
- role: sshd - role: sshd
vars: vars:
sshd: sshd: