Skip to content

Instantly share code, notes, and snippets.

@tasdikrahman
Last active June 19, 2017 07:27
Show Gist options
  • Select an option

  • Save tasdikrahman/d5988476eef5fbc0a6e313af0a305e83 to your computer and use it in GitHub Desktop.

Select an option

Save tasdikrahman/d5988476eef5fbc0a6e313af0a305e83 to your computer and use it in GitHub Desktop.
diff --git a/roles/ovirt-engine-rename/tasks/main.yml b/roles/ovirt-engine-rename/tasks/main.yml
index 8c96082..ed28298 100644
--- a/roles/ovirt-engine-rename/tasks/main.yml
+++ b/roles/ovirt-engine-rename/tasks/main.yml
@@ -49,7 +49,9 @@
# to get the hostname, if not let it remain
- name: Changing the system host name to reflect the new engine-name
# command: hostnamectl set-hostname {{ ovirt_engine_rename_new_fqdn }}
- command: hostname {{ ovirt_engine_rename_new_fqdn }}
+ # command: hostname {{ ovirt_engine_rename_new_fqdn }}
+ hostname:
+ name: '{{ ovirt_engine_rename_new_fqdn }}'
tags:
- skip_ansible_lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment