mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-12 22:50:17 +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:
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue