This commit is contained in:
2022-10-27 18:17:00 +02:00
parent d282fe416b
commit 08490e0402
3 changed files with 12 additions and 2 deletions

View File

@@ -0,0 +1 @@
%wheel ALL=(ALL) ALL

View File

@@ -22,7 +22,8 @@
path: "/etc/ssh/sshd_config"
line: "Include /etc/ssh/sshd_config.d/*.conf"
state: present
insertbefore: "^Port.*$"
insertbefore: "^#?Port.*$"
notify: restart_sshd
- name: system setup | openssh | copy sshd custom config
tags: openssh,ssh,system,settings

View File

@@ -87,4 +87,12 @@
become: yes
become_user: '{{ user }}'
shell: "POWERLINE=n BASHIT=y ZSHCUSTOM=n {{ getent_passwd[user][4] }}/dotfiles/install.sh"
ignore_errors: yes
ignore_errors: yes
- name: users | all | add sudoers file
copy:
src: users/sudoers_wheel
dest: /etc/sudoers.d/wheel
owner: root
group: root
mode: 0440