Merge "playbooks: Convert venv_python_path to proper role"
This commit is contained in:
commit
d135f78fc0
@ -13,7 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- include: roles/common/venv_python_path.yml
|
||||
- import_role:
|
||||
name: venv_python_path
|
||||
- name: Ensure required packages are installed
|
||||
package:
|
||||
name: "{{ dib_host_required_packages }}"
|
||||
|
@ -15,7 +15,8 @@
|
||||
---
|
||||
# This is overly complex, however get_url will always re-retrieve the file
|
||||
# if it already exists, and this is to prevent that behavior.
|
||||
- include: roles/common/venv_python_path.yml
|
||||
- import_role:
|
||||
name: venv_python_path
|
||||
|
||||
- name: "Test if IPA kernel is present"
|
||||
stat: path={{ ipa_kernel }}
|
||||
|
@ -13,7 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- include: roles/common/venv_python_path.yml
|
||||
- import_role:
|
||||
name: venv_python_path
|
||||
|
||||
- name: Create {{ ipxe_dir }}
|
||||
file:
|
||||
|
@ -13,7 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- include: roles/common/venv_python_path.yml
|
||||
- import_role:
|
||||
name: venv_python_path
|
||||
|
||||
- name: "Update Package Cache"
|
||||
apt: update_cache=yes
|
||||
|
@ -39,7 +39,8 @@
|
||||
ironic.keystone.default_username is undefined or
|
||||
ironic.keystone.default_password is undefined
|
||||
|
||||
- include: roles/common/venv_python_path.yml
|
||||
- import_role:
|
||||
name: venv_python_path
|
||||
|
||||
- name: "Ensure service project is present"
|
||||
os_project:
|
||||
|
@ -38,7 +38,8 @@
|
||||
ironic_inspector.keystone.default_username is undefined or
|
||||
ironic_inspector.keystone.default_password is undefined
|
||||
|
||||
- include: roles/common/venv_python_path.yml
|
||||
- import_role:
|
||||
name: venv_python_path
|
||||
|
||||
- name: "Create service user for ironic-inspector"
|
||||
os_user:
|
||||
|
@ -11,7 +11,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
---
|
||||
- include: roles/common/venv_python_path.yml
|
||||
- import_role:
|
||||
name: venv_python_path
|
||||
|
||||
- name: "Install packages"
|
||||
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
|
||||
|
Loading…
x
Reference in New Issue
Block a user