summaryrefslogtreecommitdiffstats
path: root/ansible/roles/package-repository/tasks/Debian.yml
diff options
context:
space:
mode:
authorJan Benedikt <j.benedikt@partner.samsung.com>2020-02-10 16:29:43 +0100
committerJan Benedikt <j.benedikt@partner.samsung.com>2020-05-18 09:21:52 +0200
commit2c34d1d7a33e34c9984ac78460fd8e7c815024c5 (patch)
tree1bac4c90b3d8f899248919f97af24f4fe31547e8 /ansible/roles/package-repository/tasks/Debian.yml
parent17e0a5eacaed7519f13e2c0f19749fb4263fb46a (diff)
Adding Ubuntu support in Ansible - package-repository role
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in package-repository role. Issue-ID: OOM-1671 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I85d4e6857536fa06c7eb4f4042c1ed64fcbf903e
Diffstat (limited to 'ansible/roles/package-repository/tasks/Debian.yml')
-rw-r--r--ansible/roles/package-repository/tasks/Debian.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/package-repository/tasks/Debian.yml b/ansible/roles/package-repository/tasks/Debian.yml
new file mode 100644
index 00000000..76323eb4
--- /dev/null
+++ b/ansible/roles/package-repository/tasks/Debian.yml
@@ -0,0 +1,8 @@
+---
+- name: Add application offline package repository
+ apt_repository:
+ repo: "deb [trusted=yes] {{ item.baseurl | default('') }} ./"
+ state: "{{ item.state | default('present') }}"
+ filename: "{{ item.file }}"
+ update_cache: false
+ loop: "{{ package_repositories }}"