-
-
Save nesv/253e3e826dc9b9a27f1b to your computer and use it in GitHub Desktop.
codehotter
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
my_sshd_config: | |
file.managed: | |
- name: /etc/ssh/sshd_config | |
... | |
# Add the below, note the "watcH" requisite. | |
sshd_service: | |
service.running: | |
- name: sshd | |
- enable: True | |
- watch: | |
- file: my_sshd_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment