From 7d64b663fae8b552ef3b86b422654a3b54f96b65 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/glance_pre_install.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/glance_pre_install.yml b/tasks/glance_pre_install.yml index 46864136..0a91999b 100644 --- a/tasks/glance_pre_install.yml +++ b/tasks/glance_pre_install.yml @@ -43,7 +43,6 @@ with_items: - { path: "/openstack", mode: "0755", owner: "root", group: "root" } - { path: "/etc/glance" } - - { path: "/etc/sudoers.d", mode: "0755", owner: "root", group: "root" } - { path: "/var/cache/glance" } - { path: "{{ glance_system_user_home }}" } - { path: "{{ glance_system_user_home }}/cache/api", mode: "0700" }