From b3683ded13642e21a439b1a91836aa13a7f561cb Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Tue, 31 May 2016 19:01:27 -0700 Subject: [PATCH] Remove unneeded playbook vars ansible_hostname is not used within any tasks and, by default, is the same value as container_name. ansible_ssh_host and container_address are also the same value by default, both are assigned to hosts through the dynamic inventory script. Additionally, overriding ansible_ssh_host through playbook vars breaks tasks that delegate to other hosts when using Ansible 2. Change-Id: I36a9ea861d4139b61084eb1a060907b900aa1162 --- playbooks/os-ironic-install.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/playbooks/os-ironic-install.yml b/playbooks/os-ironic-install.yml index 71812007a7..26d278b0fd 100644 --- a/playbooks/os-ironic-install.yml +++ b/playbooks/os-ironic-install.yml @@ -127,8 +127,6 @@ - "system-crontab-coordination" vars: galera_address: "{{ internal_lb_vip_address }}" - ansible_hostname: "{{ container_name }}" - ansible_ssh_host: "{{ container_address }}" is_metal: "{{ properties.is_metal|default(false) }}" ironic_galera_user: ironic ironic_galera_database: ironic