Drag and Drop doesn't work on vSphere :(

This commit is contained in:
citty 2021-10-15 21:25:36 -04:00
parent 0456f2a98a
commit 7b9d345ed8

View File

@ -21,7 +21,7 @@
- name: Get users
get_users:
min_uid: {{ (ansible_os_family == 'RedHat') | ternary(500,1000) }}
min_uid: "{{ (ansible_os_family == 'RedHat') | ternary(500,1000) }}"
max_uid: 65000
register: users_list
@ -35,7 +35,7 @@
- name: Give all users exclusively the current controller user's SSH key
ansible.posix.authorized_key:
user: {{item}}
user: "{{item}}"
state: present
key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_rsa.pub') }}"
exclusive: yes