Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
host_info.yml 637 B
Newer Older
  • Learn to ignore specific revisions
  • ---
    - hosts: "{{ host_list }}"
      remote_user: "{{ my_user }}"
    
      tasks:
    
    freezed's avatar
    freezed committed
        - name: ANSIBLE | host Info
    
    freezed's avatar
    freezed committed
            msg: "{{ ansible_host }}	{{ ansible_fqdn }}	- {{ ansible_distribution }} {{ ansible_distribution_release }} v{{ ansible_distribution_version }} / {{ ansible_processor[2] }} / {{ ansible_devices.keys() | max }}"
    
    freezed's avatar
    freezed committed
    
    # 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