diff --git a/tasks/install.yaml b/tasks/install.yaml index 2b57d5b..dcc8e3e 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -22,10 +22,10 @@ diskimage_builder_depends: "{{ __diskimage_builder_depends | list }}" when: diskimage_builder_depends is not defined -- name: Define diskimage_builder_pkg_name +- name: Define diskimage_builder_package_name set_fact: - diskimage_builder_pkg_name: "{{ __diskimage_builder_pkg_name }}" - when: diskimage_builder_pkg_name is not defined + diskimage_builder_package_name: "{{ __diskimage_builder_package_name }}" + when: diskimage_builder_package_name is not defined # NOTE(pabelanger): This needs to be here for now, since we need python-pip. - name: Ensure EPEL is enabled. diff --git a/tasks/install/package.yaml b/tasks/install/package.yaml index 4898e0a..eaecea5 100644 --- a/tasks/install/package.yaml +++ b/tasks/install/package.yaml @@ -14,5 +14,5 @@ --- - name: Install diskimage-builder from package. package: - name: "{{ diskimage_builder_pkg_name }}" + name: "{{ diskimage_builder_package_name }}" state: installed diff --git a/vars/Debian.yaml b/vars/Debian.yaml index 074e488..7619b12 100644 --- a/vars/Debian.yaml +++ b/vars/Debian.yaml @@ -22,4 +22,4 @@ __diskimage_builder_depends: - qemu-utils - uuid-runtime -__diskimage_builder_pkg_name: python-diskimage-builder +__diskimage_builder_package_name: python-diskimage-builder diff --git a/vars/RedHat.yaml b/vars/RedHat.yaml index b3d05ce..785bc83 100644 --- a/vars/RedHat.yaml +++ b/vars/RedHat.yaml @@ -21,4 +21,4 @@ __diskimage_builder_depends: - kpartx - qemu-img -__diskimage_builder_pkg_name: diskimage-builder +__diskimage_builder_package_name: diskimage-builder