feat: update Ansible configuration and add 1Password lookup plugin for secret management
Some checks failed
Nix Format Check / check-format (push) Failing after 37s

This commit is contained in:
2025-03-11 15:54:31 +01:00
parent 6816f125eb
commit 47fb912c15
6 changed files with 106 additions and 24 deletions

View File

@ -1,4 +1,3 @@
---
- name: Ensure openssh-server is installed
ansible.builtin.package:
name: openssh-server
@ -12,24 +11,9 @@
group: root
mode: '0644'
validate: '/usr/sbin/sshd -t -f %s'
notify: Restart SSH service
- name: Ensure SSH service is enabled and running
ansible.builtin.service:
name: ssh
state: started
enabled: true
# Handlers
- name: Handlers
ansible.builtin.meta: flush_handlers
- name: Handlers block
tags:
- always
block:
- name: Restart SSH service
ansible.builtin.service:
name: ssh
state: restarted
listen: Restart SSH service