Skip to content

Commit

Permalink
Adiciona task para evitar que membros do grupo wheel sejam bloqueados…
Browse files Browse the repository at this point in the history
… por tentativas de login falhas
  • Loading branch information
nnorakk committed Feb 19, 2024
1 parent 00649e5 commit 34e7fcb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions init/tasks/arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
become: true
tags: admin, arch

- name: Evita que usuarios do grupo admin sejam bloqueados por faillock
ansible.builtin.lineinfile:
path: /etc/security/faillock.conf
line: 'admin_group = wheel'
insertafter: EOF
state: present
become: true
tags: admin, arch, faillock

- name: Configura variaveis de Locale
ansible.builtin.copy:
dest: "{{ item }}"
Expand Down

0 comments on commit 34e7fcb

Please sign in to comment.