]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Set vars for CentOS 8 testnodes
authorDavid Galloway <dgallowa@redhat.com>
Thu, 26 Sep 2019 22:52:31 +0000 (18:52 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 26 Sep 2019 23:30:22 +0000 (19:30 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/templates/ssh/sshd_config_centos_8 [new file with mode: 0644]
roles/testnode/vars/centos_8.yml [new file with mode: 0644]

diff --git a/roles/testnode/templates/ssh/sshd_config_centos_8 b/roles/testnode/templates/ssh/sshd_config_centos_8
new file mode 100644 (file)
index 0000000..087d4c7
--- /dev/null
@@ -0,0 +1,38 @@
+# {{ ansible_managed }}
+#      $OpenBSD: sshd_config,v 1.90 2013/05/16 04:09:14 dtucker Exp $
+
+# This is the sshd server system-wide configuration file.  See
+# sshd_config(5) for more information.
+
+# This sshd was compiled with PATH=/usr/local/bin:/usr/bin
+
+HostKey /etc/ssh/ssh_host_rsa_key
+HostKey /etc/ssh/ssh_host_ecdsa_key
+
+SyslogFacility AUTHPRIV
+
+AuthorizedKeysFile     .ssh/authorized_keys
+
+PasswordAuthentication yes
+
+ChallengeResponseAuthentication no
+
+# GSSAPI options
+GSSAPIAuthentication yes
+GSSAPICleanupCredentials yes
+
+UsePAM yes
+
+X11Forwarding yes
+UsePrivilegeSeparation sandbox         # Default for new installations.
+
+# Accept locale-related environment variables
+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
+
+# override default of no subsystems
+Subsystem      sftp    /usr/libexec/openssh/sftp-server
+
+MaxSessions 1000
diff --git a/roles/testnode/vars/centos_8.yml b/roles/testnode/vars/centos_8.yml
new file mode 100644 (file)
index 0000000..0f74ec1
--- /dev/null
@@ -0,0 +1,36 @@
+---
+# vars specific to any rhel 8.x version
+
+common_yum_repos: {}
+
+packages:
+  - '@core'
+  - '@base'
+  - sysstat
+  - libedit
+  - boost-thread
+  - xfsprogs
+  - gdisk
+  - parted
+  - libgcrypt
+  - fuse-libs
+  - openssl
+  - libuuid
+  - attr
+  - ant
+  - lsof
+  - gettext
+  - bc
+  - xfsdump
+  - blktrace
+  - usbredir
+  - libev-devel
+  # for xfstests
+  - ncurses-devel
+  # for s3 tests
+
+epel_packages: []
+
+nfs_service: nfs-server
+
+ntp_service_name: chronyd