More packages

This commit is contained in:
Sam A. 2023-12-28 18:33:05 +01:00
parent f04e21927d
commit c76ec95ab9
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
5 changed files with 14 additions and 3 deletions

View file

@ -63,6 +63,7 @@ warn_list:
- experimental # experimental is included in the implicit list - experimental # experimental is included in the implicit list
- no-changed-when - no-changed-when
- latest[git] - latest[git]
- package-latest
- var-naming[no-role-prefix] - var-naming[no-role-prefix]
# - role-name # - role-name
# - yaml[document-start] # you can also use sub-rule matches # - yaml[document-start] # you can also use sub-rule matches

View file

@ -46,9 +46,9 @@ monitor_shrd
app_prod app_prod
app_stage app_stage
#[mediaservers:children] # [mediaservers:children]
#mda_prod # mda_prod
#mda_stage # mda_stage
[dbservers:children] [dbservers:children]
db_prod db_prod

View file

@ -3,6 +3,8 @@
HOSTS="$1" HOSTS="$1"
case $HOSTS in case $HOSTS in
*:*)
ROLES="['virt-common']" ;;
*app*) *app*)
ROLES="['virt-common', 'docker', 'apps']" ;; ROLES="['virt-common', 'docker', 'apps']" ;;
*db*) *db*)

View file

@ -15,3 +15,8 @@
ansible.builtin.service: ansible.builtin.service:
name: systemd-resolved name: systemd-resolved
state: restarted state: restarted
- name: Upgrade system packages
ansible.builtin.dnf:
name: '*'
state: latest

View file

@ -48,6 +48,7 @@
- epel-release - epel-release
- rocky-release-security - rocky-release-security
state: present state: present
notify: Upgrade system packages
- name: Install system packages - name: Install system packages
ansible.builtin.dnf: ansible.builtin.dnf:
@ -58,6 +59,8 @@
- htop - htop
- jq - jq
- logrotate - logrotate
- lsof
- microcode_ctl
- mtr - mtr
- rsyslog - rsyslog
- telnet - telnet