mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-10 13:43:30 +01:00
Merge pull request #61 from jamatute/fix/package_manager
* change `ansible_pkg_mgr` for package
This commit is contained in:
commit
5908f94b0f
1 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue