Browse Source

roles: bootstrap-os: Add support for SUSE distributions

Install some required packages when running on SUSE distributions.
pull/2380/head
Markos Chandras 6 years ago
parent
commit
dca4777347
2 changed files with 10 additions and 0 deletions
  1. 7
      roles/bootstrap-os/tasks/bootstrap-opensuse.yml
  2. 3
      roles/bootstrap-os/tasks/main.yml

7
roles/bootstrap-os/tasks/bootstrap-opensuse.yml

@ -0,0 +1,7 @@
---
- name: Install required packages (SUSE)
package:
name: "{{ item }}"
state: present
with_items:
- python-cryptography

3
roles/bootstrap-os/tasks/main.yml

@ -11,6 +11,9 @@
- import_tasks: bootstrap-centos.yml
when: bootstrap_os == "centos"
- import_tasks: bootstrap-opensuse.yml
when: bootstrap_os == "opensuse"
- import_tasks: setup-pipelining.yml
- name: check if atomic host

Loading…
Cancel
Save