account: Configure sudo insults

dehydrated
Felix Stupp 5 years ago
parent ff3d6cba8e
commit c8dc602f09
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -63,6 +63,8 @@ global_ssh_configuration_environment_directory: "/ansible/ssh_configuration"
global_ssh_configuration_link_name: "config"
global_ssh_configuration_link: "{{ global_ssh_configuration_environment_directory }}/{{ global_ssh_configuration_link_name }}"
global_sudoers_directory: "/etc/sudoers.d"
global_wireguard_configuration_directory: "/etc/wireguard"
global_wireguard_configuration_environment_directory: "/ansible/wireguard_configuration"
global_wireguard_configuration_link_name: "wireguard"

@ -11,6 +11,15 @@
- tmux
- zsh
- name: Configure sudo insults
copy:
content: |
Defaults insults
dest: "{{ global_sudoers_directory }}/insults"
owner: root
group: root
mode: "o=r,g=r,o="
- name: Configure user account {{ username }}
user:
name: "{{ username }}"

Loading…
Cancel
Save