roles: bootstrap-os: Add support for SUSE distributions

Install some required packages when running on SUSE distributions.
This commit is contained in:
Markos Chandras 2018-02-19 10:03:12 +00:00
parent e113d1ccab
commit dca4777347
2 changed files with 10 additions and 0 deletions

View file

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

View file

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