aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/install_image_dependencies/tasks/main.yml
diff options
context:
space:
mode:
authorMaciej Skrocki <maciej.skrocki@intel.com>2017-08-30 18:29:31 -0700
committerMaciej Skrocki <maciej.skrocki@intel.com>2017-08-31 13:51:06 -0700
commitc935f66bb14bbba3747a37a195aa1c4f49d36219 (patch)
tree91e36f11ef352c69beef213a1c8f9fbb20a55389 /ansible/roles/install_image_dependencies/tasks/main.yml
parente9d991a22270cd78485dcc6c8f3ddbf70a62286b (diff)
Introduced default values and remove unnecessary ones from ansible code image build code.
Change-Id: Id711d6fdacaddeafb8550290503d6cb6c814ea70 Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
Diffstat (limited to 'ansible/roles/install_image_dependencies/tasks/main.yml')
-rw-r--r--ansible/roles/install_image_dependencies/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/install_image_dependencies/tasks/main.yml b/ansible/roles/install_image_dependencies/tasks/main.yml
index 33d99af06..f3a3151c5 100644
--- a/ansible/roles/install_image_dependencies/tasks/main.yml
+++ b/ansible/roles/install_image_dependencies/tasks/main.yml
@@ -13,11 +13,11 @@
# limitations under the License.
---
- name: OS pre-workarounds
- include: "{{ target_os_family }}.yml"
+ include: "{{ ansible_os_family }}.yml"
- name: Install core packages
action: "{{ ansible_pkg_mgr }} name={{ item }} state=latest"
register: pkg_mgr_results
retries: "{{ pkg_mgr_retries }}"
until: pkg_mgr_results|success
- with_items: "{{ install_dependencies[target_os_family] }}"
+ with_items: "{{ install_dependencies[ansible_os_family] }}"