summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-04-22 16:39:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-04-22 16:39:43 +0200
commit9e2a869452982f2584c09fac020d4a59223f49aa (patch)
tree6265fee5238d50badc0308516c5ead708b204e7d
parenttest deployment for onlyoffice on sk-cloudio (diff)
cosmetic changes
-rw-r--r--roles/core/sshd/base/tasks/main.yml4
-rw-r--r--roles/core/zsh/tasks/main.yml2
2 files changed, 3 insertions, 3 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:
diff --git a/roles/core/zsh/tasks/main.yml b/roles/core/zsh/tasks/main.yml
index a5ae60ec..23a128d2 100644
--- a/roles/core/zsh/tasks/main.yml
+++ b/roles/core/zsh/tasks/main.yml
@@ -25,7 +25,7 @@
dest: "{{ item.dest }}"
- name: set zsh as default shell
- loop: "{{ [ 'root' ] | union(zsh_loginshell_user | default([])) }}"
+ loop: "{{ [ 'root' ] | union(zsh_loginshell_users | default([])) }}"
user:
name: "{{ item }}"
shell: "{{ zsh_bin_path }}"