Skip to content

Commit 985c000

Browse files
committed
Move some vars from internal role vars to default
vars/main.yaml is for internal role variables and have a higher prededence. They can't be overriden by inventory vars. Let's move them to default/main.yaml. We don't see this issue in 17.1 because the tripleo_sshd role has a vars/redhat.yaml which is used instead of vars/main.yaml and it does not have those role vars. Signed-off-by: rabi <[email protected]>
1 parent da4023c commit 985c000

File tree

2 files changed

+12
-32
lines changed

2 files changed

+12
-32
lines changed

roles/edpm_sshd/defaults/main.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,19 @@ edpm_sshd_packages:
2929
- openssh-server
3030

3131
edpm_sshd_motd_enabled: false
32-
edpm_sshd_message_of_the_day: ''
32+
edpm_sshd_message_of_the_day: |
33+
ALERT! You are entering into a secured area!
34+
This service is restricted to authorized users only.
3335
edpm_sshd_banner_enabled: false
34-
edpm_sshd_banner_text: ''
36+
edpm_sshd_banner_text: |
37+
******************************************************************
38+
* This system is for the use of authorized users only. Usage of *
39+
* this system may be monitored and recorded by system personnel. *
40+
* Anyone using this system expressly consents to such monitoring *
41+
* and is advised that if such monitoring reveals possible *
42+
* evidence of criminal activity, system personnel may provide *
43+
* the evidence from such monitoring to law enforcement officials.*
44+
******************************************************************
3545
3646
# SSH configuration options
3747
edpm_sshd_password_authentication: 'no'

roles/edpm_sshd/vars/main.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)