This commit is contained in:
Sam A. 2023-12-29 17:43:18 +01:00
parent 650af7941c
commit f59f1dc5cd
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
3 changed files with 21 additions and 5 deletions

View file

@ -19,8 +19,8 @@ sapt-labs-db01
[proxy_shrd]
sapt-labr-prx01
[monitor_shrd]
sapt-labr-mon01
# [monitor_shrd]
# sapt-labr-mon01
[proxmox_infra]
sapt-labx-pve01
@ -40,7 +40,7 @@ db_stage
[shared:children]
proxy_shrd
monitor_shrd
# monitor_shrd
[appservers:children]
app_prod
@ -57,8 +57,8 @@ db_stage
[proxyservers:children]
proxy_shrd
[monitorservers:children]
monitor_shrd
# [monitorservers:children]
# monitor_shrd
[virtualservers:children]
production

View file

@ -8,6 +8,13 @@
owner: root
mode: u=rw,g=r,o=r
- name: Copy MOTD file
ansible.builtin.template:
src: motd.j2
dest: /etc/motd.d/10-ansible
owner: root
mode: u=rw,g=r,o=r
- name: Add users
ansible.builtin.user:
name: "{{ item.name }}"

View file

@ -0,0 +1,9 @@
Welcome to {{ hostname }}!
===========================================================================
- FQDN................: {{ fqdn }}
- LAN IPv4............: {{ ansible_host }}
- Internal IPv4.......: {{ internal_ipv4 }}
- Server type.........: {{ virt_type | upper }}
===========================================================================