--- - name: Set the hostname hostname: name={{ hostname }} when: hostname is defined tags: bootstrap