Skip to content

Commit

Permalink
Fix apt being a dumbass
Browse files Browse the repository at this point in the history
  • Loading branch information
bviktor committed Nov 21, 2023
1 parent ea8d50f commit 94008e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/main2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
- name: Update apt cache
apt:
update_cache: true
register: noobient_nginx_apt_updated
when: (ansible_pkg_mgr == 'apt') and (noobient_nginx_apt_updated is not defined)

- include_tasks: wordpress.yml
when: (noobient_nginx_wp_installed is not defined) and (mode == 'wordpress')

Expand Down

0 comments on commit 94008e1

Please sign in to comment.