Merge pull request #61 from jamatute/fix/package_manager

* change `ansible_pkg_mgr` for package
This commit is contained in:
Matt Willsher 2017-10-19 20:42:06 +01:00 committed by GitHub
commit 5908f94b0f

View file

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