Commit d86bd95d authored by Pietsch, Martin's avatar Pietsch, Martin

root password setting removed from configuration playbook

parent a1790d28
......@@ -2,11 +2,6 @@
- hosts: "{{ hostname }}"
remote_user: root
tasks:
- name: set root password
user:
name: root
password: "{{ lookup('password', '%s/%s %s' | format(ansible_passwords, inventory_hostname, ansible_passwordrules | default(''))) | password_hash('sha256') }}"
- name: get host's ssh keys
fetch:
src: "{{ '/etc/ssh/%s' | format(item.from) }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment