Fix: aws
All checks were successful
Ansible Playbook lint / ansible-lint (push) Successful in 14s

This commit is contained in:
2024-12-20 22:34:05 +08:00
parent c5e237b9ff
commit c014a0b76e
17 changed files with 199 additions and 68 deletions

View 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

View 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

View File

@@ -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'