change domain gmetech to gmotech and remove issue

This commit is contained in:
Gilles Mouchet 2024-07-01 15:39:48 +02:00
parent 5be1a4821f
commit dd4f3497b8
5 changed files with 2 additions and 32 deletions

View File

@ -1,8 +0,0 @@
____ __ __ _____ _____ _
/ ___| \\/ | ____|_ _|__ ___| |__
| | _| |\\/| | _| | |/ _ \\/ __| '_ \\
| |_| | | | | |___ | | __/ (__| | | |
\\____|_| |_|_____| |_|\\___|\\___|_| |_|
Rocky release 9
Kernel \r on an \m

View File

@ -1,6 +0,0 @@
____ __ __ _____ _____ _
/ ___| \/ | ____|_ _|__ ___| |__
| | _| |\/| | _| | |/ _ \/ __| '_ \
| |_| | | | | |___ | | __/ (__| | | |
\____|_| |_|_____| |_|\___|\___|_| |_|

View File

@ -6,4 +6,4 @@
line: '{{ item }}' line: '{{ item }}'
state: present state: present
with_items: with_items:
- '{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.gmetech.net {{ ansible_hostname }}' - '{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.gmotech.net {{ ansible_hostname }}'

View File

@ -14,7 +14,7 @@
vars: vars:
mail_relay_host: smtp.gmail.com mail_relay_host: smtp.gmail.com
mail_domain: gmetech.dyndns.org mail_domain: gmotech.dyndns.org
tasks: tasks:
- include_tasks: assert-vars.yml - include_tasks: assert-vars.yml

View File

@ -50,22 +50,6 @@
src: os/vimrc src: os/vimrc
dest: /root/.vimrc dest: /root/.vimrc
- name: issue (gmetech)
copy:
src: os/gmetech
dest: /etc/issue
- name: issue.net (gmetech)
copy:
src: os/gmetech.net
dest: /etc/issue.net
- name: config sshd for banner
lineinfile:
dest: /etc/ssh/sshd_config
insertafter: EOF
line: 'Banner /etc/issue.net'
- name: put SELinux in permissive mode - name: put SELinux in permissive mode
selinux: selinux:
policy: targeted policy: targeted