From 57f6e9ad4f46158bf0768820780b6e75d604e833 Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Fri, 15 Jul 2022 17:25:33 +0200 Subject: [PATCH] Add Dell OpenManage APT repo --- roles/ubuntu_base/tasks/custom-apt-repos.yml | 11 +++++++++++ roles/ubuntu_base/tasks/main.yml | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 roles/ubuntu_base/tasks/custom-apt-repos.yml diff --git a/roles/ubuntu_base/tasks/custom-apt-repos.yml b/roles/ubuntu_base/tasks/custom-apt-repos.yml new file mode 100644 index 0000000..e6e094e --- /dev/null +++ b/roles/ubuntu_base/tasks/custom-apt-repos.yml @@ -0,0 +1,11 @@ +--- +- name: "configure dell apt repo" + apt_repository: + repo: "deb https://linux.dell.com/repo/community/openmanage/10101/focal focal main" + state: "present" + tags: setup-custom-apt + +- name: update apt cache + apt: + update_cache: yes + tags: setup-custom-apt \ No newline at end of file diff --git a/roles/ubuntu_base/tasks/main.yml b/roles/ubuntu_base/tasks/main.yml index 1db59dd..af771a8 100644 --- a/roles/ubuntu_base/tasks/main.yml +++ b/roles/ubuntu_base/tasks/main.yml @@ -1,4 +1,6 @@ --- +- import_tasks: custom-apt-repos.yml - import_tasks: upgrade.yml - import_tasks: base.yml - import_tasks: users.yml +