|
@@ -0,0 +1,25 @@
|
|
|
+---
|
|
|
+- name: Install required packages
|
|
|
+ package: name={{ item }} state=latest
|
|
|
+ with_items:
|
|
|
+ - vim
|
|
|
+ - nano
|
|
|
+ - htop
|
|
|
+ - python3
|
|
|
+ - python3-pip
|
|
|
+ - acl
|
|
|
+ - bash-completion
|
|
|
+
|
|
|
+
|
|
|
+- name: install debian specific packages
|
|
|
+ package: name={{ item }} state=latest
|
|
|
+ when: ansible_distribution == 'Debian'
|
|
|
+ with_items:
|
|
|
+ - lsb-release
|
|
|
+ - build-essential
|
|
|
+
|
|
|
+- name: install centos specific packages
|
|
|
+ package: name={{ item }} state=latest
|
|
|
+ when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux' or ansible_distribution == 'Rocky'
|
|
|
+ with_items:
|
|
|
+ - epel-release
|