Skip to content
Snippets Groups Projects
Verified Commit a0ba7993 authored by iliya.saroukha's avatar iliya.saroukha :first_quarter_moon:
Browse files

fix: added update_cache for apt module

parent 0c764e99
Branches
Tags
No related merge requests found
......@@ -8,14 +8,14 @@
ansible.builtin.command:
cmd: dhclient -v mgmt0
- name: Update package db
ansible.builtin.command:
cmd: apt update
- name: Install packages
ansible.builtin.apt:
name: ["nginx", "wireguard", "curl"]
name:
- nginx
- wireguard
- curl
state: present
update_cache: true
- name: Remove DHCP route
ansible.builtin.command:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment