Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Nov 5, 2024
1 parent 1662dda commit 1680e4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/roles/vpn_mgt/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
line: 'PasswordAuthentication no'
state: present

- name: SSH only mgt
ansible.builtin.lineinfile:
dest: /etc/ssh/sshd_config
regexp: '^#?\s*ListenAddress\s'
line: 'ListenAddress {{ BIRD_ROUTER_ID }}'
state: present

- name: Restart and enable sshd service
ansible.builtin.service:
name: sshd
Expand Down

0 comments on commit 1680e4e

Please sign in to comment.