diff --git a/roles/ubuntu_base/tasks/base.yml b/roles/ubuntu_base/tasks/base.yml index a51c443..257352b 100644 --- a/roles/ubuntu_base/tasks/base.yml +++ b/roles/ubuntu_base/tasks/base.yml @@ -9,6 +9,7 @@ - apparmor - haveged - mosh + - srvadmin-all # Dell OpenManage - name: Install necessary packages via pip pip: 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..fc1555d --- /dev/null +++ b/roles/ubuntu_base/tasks/custom-apt-repos.yml @@ -0,0 +1,15 @@ +--- +- name: import dell apt signing key + apt_key: + id: "1285491434D8786F" + keyserver: "keyserver.ubuntu.com" + +- name: "configure dell apt repo" + apt_repository: + repo: "deb https://linux.dell.com/repo/community/openmanage/10101/focal focal main" + state: "present" + +- name: update apt cache + apt: + update_cache: yes + \ No newline at end of file diff --git a/roles/ubuntu_base/tasks/main.yml b/roles/ubuntu_base/tasks/main.yml index 1db59dd..d6d34a4 100644 --- a/roles/ubuntu_base/tasks/main.yml +++ b/roles/ubuntu_base/tasks/main.yml @@ -1,4 +1,10 @@ --- +- import_tasks: custom-apt-repos.yml + tags: [setup-custom-apt] - import_tasks: upgrade.yml + tags: [do-full-system-upgrade] - import_tasks: base.yml + tags: [install-base-packages] - import_tasks: users.yml + tags: [setup-users] +