mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 02:50:18 +01:00
tests: Different test requirements for alpine
This commit is contained in:
parent
04f056867c
commit
c57e15668f
1 changed files with 14 additions and 1 deletions
|
@ -39,12 +39,25 @@
|
|||
when:
|
||||
- ansible_facts['distribution'] == "Ubuntu"
|
||||
|
||||
- name: Make sure manual pages and bash are installed
|
||||
- name: Make sure manual pages and bash are installed on Alpine
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- mandoc
|
||||
- man-pages
|
||||
- openssh-doc
|
||||
- bash
|
||||
state: present
|
||||
when:
|
||||
- ansible_facts['distribution'] == "Alpine"
|
||||
|
||||
- name: Make sure manual pages and bash are installed elsewhere
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- man
|
||||
- bash
|
||||
state: present
|
||||
when:
|
||||
- ansible_facts['distribution'] != "Alpine"
|
||||
|
||||
- name: Get list of options from manual page
|
||||
ansible.builtin.shell: >-
|
||||
|
|
Loading…
Reference in a new issue