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 +