tests: Different test requirements for alpine

This commit is contained in:
Jakub Jelen 2023-01-12 20:20:41 +01:00 committed by Jakub Jelen
parent 04f056867c
commit c57e15668f

View file

@ -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: >-