diff --git a/tasks/keystone_apache.yml b/tasks/keystone_apache.yml index 4bb0af85..0b750963 100644 --- a/tasks/keystone_apache.yml +++ b/tasks/keystone_apache.yml @@ -49,7 +49,7 @@ - name: Ensure Apache ServerName lineinfile: dest: "/etc/apache2/apache2.conf" - line: "ServerName {{ inventory_hostname }}" + line: "ServerName {{ ansible_hostname }}" notify: - Restart Apache tags: