* change ansible_pkg_mgr for package

This commit is contained in:
jamatute 2017-08-16 11:28:15 +02:00
parent 1bbdd2fc6b
commit 0ec2446cae
No known key found for this signature in database
GPG key ID: 00A634E6FB3C20D4

View file

@ -16,13 +16,11 @@
tags: tags:
- sshd - sshd
- name: Installed - name: Install ssh packages
action: > package:
{{ ansible_pkg_mgr }} name: "{{ item }}"
name="{{ item }}" state: present
state=installed
with_items: "{{ sshd_packages }}" with_items: "{{ sshd_packages }}"
when: ansible_pkg_mgr != 'unknown'
tags: tags:
- sshd - sshd