Horje
when hostname ansible Code Example
when hostname ansible
# Use Special Variable inventory_hostname
when: inventory_hostname == 'your_inventory_name'
ansible set hostname from facts
- name: Set proper hostname
  hostname:
    #name: hostvars[inventory_hostname].ansible_host
    name: "{{ hostvars[inventory_hostname].ansible_host }}"
  become: yes
  when:
    - ansible_facts['os_family'] == 'Suse'




Shell

Related
how to upload on github with command Code Example how to upload on github with command Code Example
bash printf format Code Example bash printf format Code Example
gulp imagemin Code Example gulp imagemin Code Example
node ffmpeg Code Example node ffmpeg Code Example
[Thu Nov 5 15:20:23 2020] Failed to listen on localhost:3200 (reason: Address already in use) Code Example [Thu Nov 5 15:20:23 2020] Failed to listen on localhost:3200 (reason: Address already in use) Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8