apt with squash_items is deprecated

py3-deploy
eric 2019-01-24 13:22:04 -05:00
parent cfa971eb79
commit 61ebb43922
1 changed files with 1 additions and 5 deletions

View File

@ -2,12 +2,8 @@
- name: Install apache
become: yes
apt:
name: "{{ item }}"
name: ['apache2', 'libapache2-mod-wsgi', 'cronolog']
state: present
with_items:
- 'apache2'
- 'libapache2-mod-wsgi'
- 'cronolog'
- name: Ensure apache is running and enabled
become: yes