Add names to include tasks

Raised by ansible-lint in the following rule:

[ANSIBLE0011] All tasks should be named
This commit is contained in:
2017-10-03 15:02:38 +03:00
parent 643c89891e
commit 5281d41445
4 changed files with 20 additions and 10 deletions

View File

@ -2,11 +2,13 @@
# Note: Debian 9's php-fpm config is identical to Ubuntu 16.04's, so for now we
# can capitalize on that and use the same tasks.
- import_tasks: Debian.yml
- name: Configure php-fpm on old Debian
import_tasks: Debian.yml
when: ansible_distribution == 'Debian' and ansible_distribution_major_version | version_compare('9', '<')
tags: php-fpm
- import_tasks: Ubuntu.yml
- name: Configure php-fpm on Ubuntu and Debian 9
import_tasks: Ubuntu.yml
when: ansible_distribution == 'Ubuntu' or (ansible_distribution == 'Debian' and ansible_distribution_major_version | version_compare('9', '=='))
tags: php-fpm