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