Add distribution to task name

This commit is contained in:
liquidat 2016-02-01 10:48:41 +01:00
parent 170a9c2446
commit 8c39811daa
4 changed files with 4 additions and 4 deletions

View file

@ -2,6 +2,6 @@
- name: Update apt cache. - name: Update apt cache.
apt: update_cache=yes cache_valid_time=86400 apt: update_cache=yes cache_valid_time=86400
- name: Ensure Apache is installed. - name: Ensure Apache is installed on Debian.
apt: "name={{ item }} state=installed" apt: "name={{ item }} state=installed"
with_items: apache_packages with_items: apache_packages

View file

@ -1,5 +1,5 @@
--- ---
- name: Ensure Apache is installed. - name: Ensure Apache is installed on RHEL.
yum: yum:
name: "{{ item }}" name: "{{ item }}"
state: installed state: installed

View file

@ -1,5 +1,5 @@
--- ---
- name: Ensure Apache is installed. - name: Ensure Apache is installed on Solaris.
pkg5: pkg5:
name: "{{ item }}" name: "{{ item }}"
state: installed state: installed

View file

@ -1,5 +1,5 @@
--- ---
- name: Ensure Apache is installed. - name: Ensure Apache is installed on Suse.
zypper: zypper:
name: "{{ item }}" name: "{{ item }}"
state: installed state: installed