Newer
Older
---
- hosts: "{{ host_list }}"
remote_user: "{{ my_user }}"
tasks:
msg: "{{ ansible_host }} {{ ansible_fqdn }} - {{ ansible_distribution }} {{ ansible_distribution_release }} v{{ ansible_distribution_version }} / {{ ansible_processor[2] }} / {{ ansible_devices.keys() | max }}"
# FIX:
# TASK [Who is «become_user»]
# ok: [serv3]
# [WARNING]: Module remote_tmp /home/pveadm/.ansible/tmp did not exist and was created with a mode of 0700, this may cause issues when
# running as another user. To avoid this, create the remote_tmp dir with the correct permissions manually