From 9e07da8febcc32435ab9a18686d846f6435bb0aa Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 8 Feb 2016 21:25:01 -0600 Subject: [PATCH] Changed the ordering for sudoers where used The sudoers file was being created in the pre-install tasks which causes an incorrect configuration variable to be dropped when the venv env is not turned on. To correct this issue the sudoers template is now dropped in the post install task file after the bin_path fact has been set. This change also removes the directory create task for heat, keystone, glance, and swift because no sudoers files are needed for these services. Re-Implementation-Of: https://review.openstack.org/#/c/277674/1 Change-Id: I609c9c12579dc1897787d19a1f58fe3e919b5e35 Signed-off-by: Kevin Carter --- tasks/keystone_pre_install.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/keystone_pre_install.yml b/tasks/keystone_pre_install.yml index dd90fdef..6d84730b 100644 --- a/tasks/keystone_pre_install.yml +++ b/tasks/keystone_pre_install.yml @@ -72,7 +72,6 @@ - { path: "{{ keystone_ldap_domain_config_dir }}" } - { path: "/etc/keystone/ssl" } - { path: "{{ keystone_fernet_tokens_key_repository }}", mode: "2750"} - - { path: "/etc/sudoers.d", mode: "0750", owner: "root", group: "root" } - { path: "{{ keystone_system_user_home }}" } - { path: "/var/www/cgi-bin", owner: root, group: root } - { path: "/var/www/cgi-bin/keystone" }