Qualify most of common by distro
This commit is contained in:
parent
5df58a3b5d
commit
cfcf91a010
@ -42,8 +42,10 @@
|
||||
- "92-unattended-upgrades"
|
||||
- "95-hwe-eol"
|
||||
- "97-overlayroot"
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
- name: Configure Ansible user
|
||||
include_tasks: ansibleuser.yml
|
||||
- name: Configure services
|
||||
include_tasks: services.yml
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
become: yes
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- name: Install packages
|
||||
- name: Install packages via APT
|
||||
block:
|
||||
- name: Update and upgrade apt packages
|
||||
apt:
|
||||
@ -31,3 +31,17 @@
|
||||
name:
|
||||
- smartmontools
|
||||
become: yes
|
||||
when: ansible_distribution == "Ubuntu"
|
||||
- name: Install packages via APK
|
||||
block:
|
||||
- name: Install basic packages
|
||||
apk:
|
||||
name:
|
||||
- coreutils
|
||||
- git
|
||||
- htop
|
||||
- ncdu
|
||||
- screen
|
||||
- vim
|
||||
become: yes
|
||||
when: ansible_distribution == "postmarketOS"
|
||||
|
Loading…
Reference in New Issue
Block a user