mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 02:50:18 +01:00
* change ansible_pkg_mgr
for package
This commit is contained in:
parent
1bbdd2fc6b
commit
0ec2446cae
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