Permalink
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?
comanage-registry-training-ansible/hostnames.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for the May 2020 online training. Includes an upgrade to Shibboleth IdP version 4.0 and COmanage Registry upgrade to 3.2.4.
11 lines (9 sloc)
249 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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 |