Add 'packages' tag to any task doing package stuff

For idempotence we need to run all apt-related tasks, like editing
source files, adding keys, installing packages, etc, when running
the 'packages' tag.
This commit is contained in:
2016-08-14 16:33:48 +03:00
parent 7589136453
commit e343ddc9a6
8 changed files with 15 additions and 9 deletions

View File

@ -7,7 +7,7 @@
- php5-mysql
- php5-gd
- php5-curl
tags: php-fpm
tags: php-fpm, packages
- name: Copy php5-fpm pool config
template: src=pool.conf.j2 dest=/etc/php5/fpm/pool.d/{{ item.domain_name }}.conf owner=root group=root mode=0644

View File

@ -10,7 +10,7 @@
# for Piwik
- php7.0-mbstring
- php7.0-xml
tags: php-fpm
tags: php-fpm, packages
- name: Copy php-fpm pool config
template: src=php7.0-pool.conf.j2 dest=/etc/php/7.0/fpm/pool.d/{{ item.domain_name }}.conf owner=root group=root mode=0644