Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
---
- hosts: tag_comanage_training_True
become: yes
gather_facts: True
strategy: free
tasks:
- name: Set FQDN for node
command: "hostnamectl set-hostname {{ private_fqdn }}"
when: ansible_facts['nodename'] != private_fqdn