diff --git a/tasks/keystone_apache.yml b/tasks/keystone_apache.yml index 5576d127..4bb0af85 100644 --- a/tasks/keystone_apache.yml +++ b/tasks/keystone_apache.yml @@ -38,11 +38,9 @@ - name: Enabled keystone vhost file: - src: "{{ item.src }}" - dest: "{{ item.dest }}" - state: "{{ item.state }}" - with_items: - - { src: "/etc/apache2/sites-available/keystone-httpd.conf", dest: "/etc/apache2/sites-enabled/keystone-httpd.conf", state: "link" } + src: "/etc/apache2/sites-available/keystone-httpd.conf" + dest: "/etc/apache2/sites-enabled/keystone-httpd.conf" + state: "link" notify: - Restart Apache tags: diff --git a/tasks/keystone_post_install.yml b/tasks/keystone_post_install.yml index 7559909f..8bfecf2b 100644 --- a/tasks/keystone_post_install.yml +++ b/tasks/keystone_post_install.yml @@ -42,13 +42,11 @@ - name: Drop Keystone Configs copy: - src: "{{ item.src }}" - dest: "{{ item.dest }}" + src: "sso_callback_template.html" + dest: "/etc/keystone/sso_callback_template.html" owner: "{{ keystone_system_user_name }}" group: "{{ keystone_system_group_name }}" - mode: "{{ item.mode|default('0644') }}" - with_items: - - { src: "sso_callback_template.html", dest: "/etc/keystone/sso_callback_template.html" } + mode: "0644" notify: - Restart Apache tags: diff --git a/tasks/keystone_pre_install.yml b/tasks/keystone_pre_install.yml index dd90fdef..e8f90677 100644 --- a/tasks/keystone_pre_install.yml +++ b/tasks/keystone_pre_install.yml @@ -107,13 +107,11 @@ - name: Create keystone log dir file: - path: "{{ item.path }}" + path: "/var/log/keystone" state: directory - owner: "{{ item.owner|default(keystone_system_user_name) }}" - group: "{{ item.group|default(keystone_system_group_name) }}" - mode: "{{ item.mode|default('0755') }}" - with_items: - - { path: "/var/log/keystone" } + owner: "{{ keystone_system_user_name }}" + group: "{{ keystone_system_group_name }}" + mode: "0755" when: log_dir.rc != 0 tags: - keystone-dirs