You've already forked ansible-role-common
Initial Commit
This commit is contained in:
0
templates/.gitkeep
Normal file
0
templates/.gitkeep
Normal file
13
templates/etc.hosts.j2
Normal file
13
templates/etc.hosts.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
# This file is managed by Ansible #
|
||||
## DO NOT edit manually as changes will be overwritten ##
|
||||
|
||||
127.0.0.1 localhost {{ ansible_hostname }}
|
||||
::1 localhost {{ ansible_hostname }}
|
||||
|
||||
{{ ansible_default_ipv4.address }} {{ ansible_hostname }}.{{ domain }} {{ ansible_hostname }}
|
||||
|
||||
{% if not vendors_hosts is none %}
|
||||
{% for item in vendors_hosts %}
|
||||
{{ item.ip }} {{ item.name }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
10
templates/etc.resolv.conf.j2
Normal file
10
templates/etc.resolv.conf.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
# This file is managed by Ansible #
|
||||
## DO NOT edit manually as changes will be overwritten ##
|
||||
|
||||
# Search Domain
|
||||
search {{ domain }}
|
||||
|
||||
# Use servers configured via Ansible
|
||||
{% for server in dns_servers %}
|
||||
nameserver {{ server }}
|
||||
{% endfor %}
|
||||
5
templates/etc.sysconfig.network.j2
Normal file
5
templates/etc.sysconfig.network.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
# This file is managed by Ansible #
|
||||
## DO NOT edit manually as changes will be overwritten ##
|
||||
|
||||
NETWORKING=yes
|
||||
HOSTNAME={{ ansible_hostname }}
|
||||
19
templates/ntp.conf.j2
Normal file
19
templates/ntp.conf.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
# This file is managed by Ansible #
|
||||
## DO NOT edit manually as changes will be overwritten ##
|
||||
|
||||
driftfile /var/lib/ntp/drift
|
||||
restrict default kod nomodify notrap nopeer noquery
|
||||
restrict -6 default kod nomodify notrap nopeer noquery
|
||||
restrict 127.0.0.1
|
||||
restrict -6 ::1
|
||||
|
||||
# Use servers configured via Ansible
|
||||
{% for server in ntp_servers %}
|
||||
server {{ server }}
|
||||
{% endfor %}
|
||||
|
||||
# Fallback
|
||||
server nz.pool.ntp.org
|
||||
|
||||
includefile /etc/ntp/crypto/pw
|
||||
keys /etc/ntp/keys
|
||||
14
templates/sshd_config.j2
Normal file
14
templates/sshd_config.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
Protocol 2
|
||||
SyslogFacility AUTHPRIV
|
||||
PasswordAuthentication yes
|
||||
ChallengeResponseAuthentication no
|
||||
GSSAPIAuthentication yes
|
||||
GSSAPICleanupCredentials yes
|
||||
UsePAM yes
|
||||
UseDNS no
|
||||
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
|
||||
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
|
||||
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
|
||||
AcceptEnv XMODIFIERS
|
||||
X11Forwarding yes
|
||||
Subsystem sftp /usr/libexec/openssh/sftp-server
|
||||
Reference in New Issue
Block a user