This commit is contained in:
36
roles/install_packages/tasks/archlinux.yml
Normal file
36
roles/install_packages/tasks/archlinux.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
- name: Update package cache
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
|
||||
- name: Install cms dependencies
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- base-devel
|
||||
- jdk8-openjdk
|
||||
- fpc
|
||||
- postgresql
|
||||
- python
|
||||
- libcap
|
||||
- git
|
||||
notify: Upgrade packages
|
||||
|
||||
- name: Install cms optional dependencies
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- postgresql-libs
|
||||
- libcups
|
||||
- libyaml
|
||||
- python-virtualenv
|
||||
- python-pip
|
||||
- rust
|
||||
notify: Upgrade packages
|
||||
|
||||
- name: Install additional packages
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- pyenv
|
||||
- haproxy
|
||||
- python-psycopg2
|
||||
- unzip
|
||||
notify: Upgrade packages
|
||||
38
roles/install_packages/tasks/debian.yml
Normal file
38
roles/install_packages/tasks/debian.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
- name: Install cms dependencies
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- build-essential
|
||||
- openjdk-8-headless
|
||||
- fp-compiler
|
||||
- postgresql
|
||||
- postgresql-client
|
||||
- python3
|
||||
- cppreference-doc-en-html
|
||||
- cgroup-lite
|
||||
- libcap-dev
|
||||
- zip
|
||||
|
||||
|
||||
- jdk8-openjdk
|
||||
- fpc
|
||||
- postgresql
|
||||
- python
|
||||
- libcap
|
||||
- git
|
||||
|
||||
- name: Install cms optional dependencies
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- postgresql-libs
|
||||
- libcups
|
||||
- libyaml
|
||||
- python-virtualenv
|
||||
- rust
|
||||
|
||||
- name: Install additional packages
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- pyenv
|
||||
- haproxy
|
||||
- python-psycopg2
|
||||
@@ -1,34 +1,7 @@
|
||||
---
|
||||
- name: Update package cache
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
|
||||
- name: Install cms dependencies
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- base-devel
|
||||
- jdk8-openjdk
|
||||
- fpc
|
||||
- postgresql
|
||||
- python
|
||||
- libcap
|
||||
- git
|
||||
notify: Upgrade packages
|
||||
|
||||
- name: Install cms optional dependencies
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- postgresql-libs
|
||||
- libcups
|
||||
- libyaml
|
||||
- python-virtualenv
|
||||
- rust
|
||||
notify: Upgrade packages
|
||||
|
||||
- name: Install additional packages
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- pyenv
|
||||
- haproxy
|
||||
- python-psycopg2
|
||||
notify: Upgrade packages
|
||||
- name: Install packages on ArchLinux
|
||||
ansible.builtin.import_tasks: archlinux.yml
|
||||
when: ansible_distribution == 'Archlinux'
|
||||
- name: Install packages on Debian
|
||||
ansible.builtin.import_tasks: debian.yml
|
||||
when: ansible_distribution == 'Debian'
|
||||
|
||||
Reference in New Issue
Block a user