Basic Checks

This commit is contained in:
Fabio Sinibaldi 2025-11-13 16:42:00 +01:00
parent c9cde03e58
commit 497389b081
2 changed files with 6 additions and 1 deletions

View File

@ -18,7 +18,7 @@
password: "{{ ansible_crypted_password | password_hash('sha512') }}"
shell: /bin/bash
# Uncomment to prevent password reset
# update_password: on_create
update_password: on_create
system: yes
home: /srv/ansible
state: present
@ -31,6 +31,10 @@
group: root
mode: 0440
# Inserts public keys of allowed externals users to log in as ansible
# e.g. fabio
- name: Create the .ssh directory
file: path=/srv/ansible/.ssh owner=ansible group=ansible mode=0700 state=directory

View File

@ -1,2 +1,3 @@
---
- import_tasks: basic_checks.yaml
- import_tasks: connectivity.yml