Files
hatarashi-pasokom/hatarashi-pasokom.yaml
shmick bcad6456ce
Some checks are pending
Ansible Deploy / deploy (push) Has started running
Do not reboot
2023-11-24 09:37:24 +02:00

19 lines
479 B
YAML

---
- hosts: takahe
gather_facts: no
become: yes
vars:
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
ansible_sudo_pass: "{{ ANSIBLE_SUDO_PASS }}"
tasks:
- name: Update all installed packages using APT module
ansible.builtin.apt:
name: '*'
state: latest
update_cache: yes
only_upgrade: yes
- name: Remove packages not needed anymore
ansible.builtin.apt:
autoremove: yes