change domain gmetech to gmotech and remove issue
This commit is contained in:
parent
5be1a4821f
commit
dd4f3497b8
@ -1,8 +0,0 @@
|
|||||||
____ __ __ _____ _____ _
|
|
||||||
/ ___| \\/ | ____|_ _|__ ___| |__
|
|
||||||
| | _| |\\/| | _| | |/ _ \\/ __| '_ \\
|
|
||||||
| |_| | | | | |___ | | __/ (__| | | |
|
|
||||||
\\____|_| |_|_____| |_|\\___|\\___|_| |_|
|
|
||||||
|
|
||||||
Rocky release 9
|
|
||||||
Kernel \r on an \m
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
____ __ __ _____ _____ _
|
|
||||||
/ ___| \/ | ____|_ _|__ ___| |__
|
|
||||||
| | _| |\/| | _| | |/ _ \/ __| '_ \
|
|
||||||
| |_| | | | | |___ | | __/ (__| | | |
|
|
||||||
\____|_| |_|_____| |_|\___|\___|_| |_|
|
|
||||||
|
|
||||||
@ -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 }}'
|
||||||
2
main.yml
2
main.yml
@ -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
|
||||||
|
|||||||
16
misc.yml
16
misc.yml
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user