mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
upt playbook
This commit is contained in:
parent
f5c52f1bc2
commit
09d40ba1b7
10
playbooks/apt_upgrade.yml
Normal file
10
playbooks/apt_upgrade.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
- hosts: morefine
|
||||||
|
name: Apt udate
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
- name: Apt update
|
||||||
|
ansible.builtin.shell: 'apt update'
|
||||||
|
changed_when: false
|
||||||
|
- name: Apt upgrade
|
||||||
|
ansible.builtin.shell: 'apt -o Dpkg::Options::="--force-confnew" upgrade -y'
|
||||||
|
changed_when: false
|
Loading…
x
Reference in New Issue
Block a user