Advertisement
Guest User

Untitled

a guest
Apr 18th, 2015
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. move port ssh:
  2. file.replace:
  3. - path: /etc/ssh/sshd_config
  4. - pattern: Port 22
  5. - repl: Port {{ CUSTOM_PORT }}
  6.  
  7. # salt-call state.sls common.ssh test=True
  8. local:
  9. ----------
  10. ID: move port ssh
  11. Function: file.replace
  12. Result: False
  13. Comment: Specified file move port ssh is not an absolute path
  14. Started: 11:02:40.632334
  15. Duration: 2.588 ms
  16. Changes:
  17.  
  18. Summary
  19. ------------
  20. Succeeded: 0
  21. Failed: 1
  22. ------------
  23. Total states run: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement