modify update and upgrade packages

This commit is contained in:
Ruben Blanco 2023-10-16 07:40:25 +02:00
parent b74a6f7a1e
commit c7a1d8345a
1 changed files with 3 additions and 6 deletions

View File

@ -27,12 +27,15 @@
apt: apt:
name: "*" name: "*"
state: latest state: latest
update_cache: true
force_apt_get: true
# upgrade packages # upgrade packages
- name: upgrade packages - name: upgrade packages
apt: apt:
upgrade: dist upgrade: dist
state: latest state: latest
force_apt_get: true
# install packages # install packages
- name: install some packages (vim htop psmisc aptitude) - name: install some packages (vim htop psmisc aptitude)
@ -47,12 +50,6 @@
- nslcd - nslcd
- exim4 - exim4
# install exim4 ---> instalacion en Install packages task
#- name: install exim4
# apt:
# name: exim4
# state: present
# Reconfigure relayhost smtp to smtp.verdnatura.es # Reconfigure relayhost smtp to smtp.verdnatura.es
- name: reconfigure relayhost to smtp.verdnatura.es - name: reconfigure relayhost to smtp.verdnatura.es
debconf: debconf: