10 lines
446 B
YAML
10 lines
446 B
YAML
---
|
|
|
|
- name: Creazione account di gestione Ansible
|
|
user: name=amgmt comment="Ansible Management User" group=wheel state=present password=$6$rounds=100000$XvHuMoXtpCksx379$nhlfUn38.oBB7JrDrtwfUisw8T0Bg5InzFq1fw31mcEmGZ2AYFkFK2zC2g04lSfw.kpdSgqH3Dl5q9r1fY6.k.
|
|
remote_user: root
|
|
|
|
- name: Concessione permessi sudo
|
|
lineinfile: dest=/etc/sudoers line="amgmt ALL=(ALL:ALL) NOPASSWD:ALL" validate="visudo -cf %s" state=present
|
|
remote_user: root
|