diff options
author | Christian Pointner <equinox@spreadspace.org> | 2021-04-22 16:39:43 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2021-04-22 16:39:43 +0200 |
commit | 9e2a869452982f2584c09fac020d4a59223f49aa (patch) | |
tree | 6265fee5238d50badc0308516c5ead708b204e7d /roles/core/sshd/base/tasks/main.yml | |
parent | test deployment for onlyoffice on sk-cloudio (diff) |
cosmetic changes
Diffstat (limited to 'roles/core/sshd/base/tasks/main.yml')
-rw-r--r-- | roles/core/sshd/base/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/core/sshd/base/tasks/main.yml b/roles/core/sshd/base/tasks/main.yml index cf5862fa..15ae6032 100644 --- a/roles/core/sshd/base/tasks/main.yml +++ b/roles/core/sshd/base/tasks/main.yml @@ -28,7 +28,7 @@ notify: restart ssh - name: limit allowed users - when: not sshd_allow_any_user | bool + when: not (sshd_allow_any_user | bool) lineinfile: dest: /etc/ssh/sshd_config regexp: "^AllowUsers\\s" @@ -45,7 +45,7 @@ notify: restart ssh - name: limit allowed groups - when: not sshd_allow_any_group | bool + when: not (sshd_allow_any_group | bool) block: - name: verify sshd allow-groups are configured assert: |