mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 11:00:19 +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:
|
when:
|
||||||
- ansible_facts['distribution'] == "Ubuntu"
|
- 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:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- man
|
- man
|
||||||
- bash
|
- bash
|
||||||
state: present
|
state: present
|
||||||
|
when:
|
||||||
|
- ansible_facts['distribution'] != "Alpine"
|
||||||
|
|
||||||
- name: Get list of options from manual page
|
- name: Get list of options from manual page
|
||||||
ansible.builtin.shell: >-
|
ansible.builtin.shell: >-
|
||||||
|
|
Loading…
Reference in a new issue