diff --git a/tasks/ironic_install.yml b/tasks/ironic_install.yml index ceee8258..06cffcc5 100644 --- a/tasks/ironic_install.yml +++ b/tasks/ironic_install.yml @@ -60,6 +60,7 @@ file: path: "{{ ironic_bin | dirname }}" state: directory + mode: "0755" register: ironic_venv_dir - name: Unarchive pre-built venv diff --git a/tasks/ironic_pre_install.yml b/tasks/ironic_pre_install.yml index 510f2f3a..4b29e563 100644 --- a/tasks/ironic_pre_install.yml +++ b/tasks/ironic_pre_install.yml @@ -48,7 +48,7 @@ group: "{{ item.group|default(ironic_system_group_name) }}" mode: "{{ item.mode|default('0755') }}" with_items: - - { path: "/openstack", mode: "0755", owner: "root", group: "root" } + - { path: "/openstack/venvs", mode: "0755", owner: "root", group: "root" } - { path: "/etc/ironic" } - { path: "/etc/ironic/rootwrap.d" } - { path: "/etc/sudoers.d", mode: "0750", owner: "root", group: "root" }