Drag and Drop doesn't work on vSphere :(
This commit is contained in:
parent
0456f2a98a
commit
7b9d345ed8
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
- name: Get users
|
- name: Get users
|
||||||
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
|
max_uid: 65000
|
||||||
register: users_list
|
register: users_list
|
||||||
|
|
||||||
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
- name: Give all users exclusively the current controller user's SSH key
|
- name: Give all users exclusively the current controller user's SSH key
|
||||||
ansible.posix.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
user: {{item}}
|
user: "{{item}}"
|
||||||
state: present
|
state: present
|
||||||
key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_rsa.pub') }}"
|
key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_rsa.pub') }}"
|
||||||
exclusive: yes
|
exclusive: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user