-
-
Save Karunamon/a528db0d724544242bcb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# salt-call -l debug --local state.sls ssh_settings --file-root=/srv/salt | |
local: | |
---------- | |
ID: ssh_settings | |
Function: augeas.change | |
Result: True | |
Comment: No changes made | |
Started: 10:54:46.416229 | |
Duration: 1344.752 ms | |
Changes: | |
---------- | |
ID: ssh | |
Function: service.running | |
Result: False | |
Comment: The following requisites were not found: | |
watch: | |
file: /etc/ssh/sshd_config | |
Started: | |
Duration: | |
Changes: | |
Summary for local | |
------------ | |
Succeeded: 1 | |
Failed: 1 | |
------------ | |
Total states run: 2 | |
Total run time: 1.345 s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh_settings: | |
augeas.change: | |
- context: /etc/ssh/sshd_config | |
- changes: | |
- set Host * | |
- set TCPKeepAlive yes | |
- set ServerAliveInterval 90 | |
- set PermitRootLogin yes | |
ssh: | |
service.running: | |
- watch: | |
- file: /etc/ssh/sshd_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment