roles: bootstrap-os: Add support for SUSE distributions
Install some required packages when running on SUSE distributions.
This commit is contained in:
parent
e113d1ccab
commit
dca4777347
2 changed files with 10 additions and 0 deletions
7
roles/bootstrap-os/tasks/bootstrap-opensuse.yml
Normal file
7
roles/bootstrap-os/tasks/bootstrap-opensuse.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Install required packages (SUSE)
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
- python-cryptography
|
|
@ -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…
Reference in a new issue