Skip to content
Permalink
800579c6db
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
11 lines (9 sloc) 249 Bytes
---
- 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