--- a/playbook-example.yml Tue Jul 17 13:40:48 2018 +0800+++ b/playbook-example.yml Mon Sep 28 21:29:27 2020 +0800@@ -24,11 +24,10 @@ apt: update_cache: yes cache_valid_time: 3600- package: '{{ item }}'- state: installed- with_items:- - apache2- - libapache2-mod-wsgi+ package:+ - apache2+ - libapache2-mod-wsgi+ state: present - name: Enable mod_wsgi apache2_module: state: present