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 - name: Install apache
become: yes become: yes
apt: apt:
name: "{{ item }}" name: ['apache2', 'libapache2-mod-wsgi', 'cronolog']
state: present state: present
with_items:
- 'apache2'
- 'libapache2-mod-wsgi'
- 'cronolog'
- name: Ensure apache is running and enabled - name: Ensure apache is running and enabled
become: yes become: yes