Browse Source

Replace deprecated "user" attribute by "runas"

tags/v0.41.0
Raphaël Hertzog 6 years ago
parent
commit
6ccb9fc87d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      openssh/config.sls

+ 1
- 1
openssh/config.sls View File

@@ -67,7 +67,7 @@ ssh_generate_host_{{ keyType }}_key:
{%- set keySizePart = "-b {}".format(keySize) if keySize else "" %}
- name: "rm {{ keyFile }}*; ssh-keygen -t {{ keyType }} {{ keySizePart }} -N '' -f {{ keyFile }}"
- unless: "test -s {{ keyFile }}"
- user: root
- runas: root
- require_in:
- file: sshd_config
- watch_in:

Loading…
Cancel
Save