molecule apt-cache fix

This commit is contained in:
AnsibleGuy 2024-05-04 16:31:41 +02:00
parent eb0e7d6148
commit f3f0eeaf88
No known key found for this signature in database
GPG Key ID: 52984C069F5AD3CD
1 changed files with 2 additions and 0 deletions

View File

@ -2,10 +2,12 @@
- name: Prepare
hosts: test-ag-certs-letsencrypt
gather_facts: no
tasks:
- name: Installing nginx
ansible.builtin.apt:
name: 'nginx'
update_cache: true
- name: Starting nginx
ansible.builtin.systemd: