Compare commits

..

No commits in common. "v1.1" and "master" have entirely different histories.
v1.1 ... master

2 changed files with 0 additions and 40 deletions

View File

@ -1,4 +0,0 @@
[user]
srv

View File

@ -1,36 +0,0 @@
---
- hosts: srv
vars:
password: Azerty1+
tasks:
- name: creation de l'utilisateur sioadm
user:
name: sioadm
state: present
generate_ssh_key: yes
uid: 1200
groups: sudo
append: yes
password: "{{ 'Azerty1+' | password_hash('sha512') }}"
- name: desinstallation du paquet wpasupplicant
apt:
name: wpasupplicant
state: absent
- name: desinstallation du paquet rpcbind
apt:
name: rpcbind
state: absent
- name: copie du fichier /etc/resolv.conf
copy:
src: resolv.conf
dest: /etc/resolv.conf
- name: ajout de la ligne PermitRootLogin prohibit-password dans /etc/ssh/sshd_config
lineinfile:
path: /etc/ssh/sshd_config
line: 'PermitRootLogin prohibit-password'
create: yes