Feat: Add test for archlinux and debian
This commit is contained in:
7
roles/core/tasks/archlinux.yml
Normal file
7
roles/core/tasks/archlinux.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Archlinux - Install pkgs
|
||||
community.general.pacman:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items: "{{ pacman_pkgs }}"
|
||||
|
||||
6
roles/core/tasks/debian.yml
Normal file
6
roles/core/tasks/debian.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Debian - Install pkgs
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items: "{{ debian_pkgs }}"
|
||||
@@ -1,10 +1,7 @@
|
||||
---
|
||||
# tasks file for core
|
||||
- name: Install pkgs
|
||||
community.general.pacman:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items: "{{ pacman_pkgs }}"
|
||||
- name: Install os-specific packages
|
||||
include_tasks: "{{ ansible_os_family | lower }}.yml"
|
||||
|
||||
- name: Configure sudoers
|
||||
template:
|
||||
|
||||
Reference in New Issue
Block a user