Commit fc3df125 authored by nanahira's avatar nanahira

allow no ssh authorized_keys

parent f7ff704d
---
# defaults file for init
install_authorized_keys: true
allow_password: false
hypervisor: false
mirror_debian: http://deb.debian.org
......
......@@ -2,7 +2,7 @@
authorized_key:
user: "{{ ansible_user_id }}"
key: "{{ lookup('file', './authorized_keys') }}"
# when: "ansible_os_family == 'Debian' or ansible_distribution_major_version|int != 8"
when: install_authorized_keys
- name: sudoers
become: true
lineinfile:
......
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