Basic Checks
This commit is contained in:
parent
c9cde03e58
commit
497389b081
|
|
@ -18,7 +18,7 @@
|
||||||
password: "{{ ansible_crypted_password | password_hash('sha512') }}"
|
password: "{{ ansible_crypted_password | password_hash('sha512') }}"
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
# Uncomment to prevent password reset
|
# Uncomment to prevent password reset
|
||||||
# update_password: on_create
|
update_password: on_create
|
||||||
system: yes
|
system: yes
|
||||||
home: /srv/ansible
|
home: /srv/ansible
|
||||||
state: present
|
state: present
|
||||||
|
|
@ -31,6 +31,10 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0440
|
mode: 0440
|
||||||
|
|
||||||
|
|
||||||
|
# Inserts public keys of allowed externals users to log in as ansible
|
||||||
|
# e.g. fabio
|
||||||
|
|
||||||
- name: Create the .ssh directory
|
- name: Create the .ssh directory
|
||||||
file: path=/srv/ansible/.ssh owner=ansible group=ansible mode=0700 state=directory
|
file: path=/srv/ansible/.ssh owner=ansible group=ansible mode=0700 state=directory
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
---
|
---
|
||||||
|
- import_tasks: basic_checks.yaml
|
||||||
- import_tasks: connectivity.yml
|
- import_tasks: connectivity.yml
|
||||||
Loading…
Reference in New Issue