8b151d12b9
* Adding yaml linter to ci check * Minor linting fixes from yamllint * Changing CI to install python pkgs from requirements.txt - adding in a secondary requirements.txt for tests - moving yamllint to tests requirements
29 lines
615 B
YAML
29 lines
615 B
YAML
---
|
|
- include: bootstrap-ubuntu.yml
|
|
when: bootstrap_os == "ubuntu"
|
|
|
|
- include: bootstrap-coreos.yml
|
|
when: bootstrap_os == "coreos"
|
|
|
|
- include: bootstrap-centos.yml
|
|
when: bootstrap_os == "centos"
|
|
|
|
- include: setup-pipelining.yml
|
|
|
|
- name: check if atomic host
|
|
stat:
|
|
path: /run/ostree-booted
|
|
register: ostree
|
|
|
|
- set_fact:
|
|
is_atomic: "{{ ostree.stat.exists }}"
|
|
|
|
- name: Gather nodes hostnames
|
|
setup:
|
|
gather_subset: '!all'
|
|
filter: ansible_hostname
|
|
|
|
- name: Assign inventory name to unconfigured hostnames
|
|
hostname:
|
|
name: "{{inventory_hostname}}"
|
|
when: ansible_hostname == 'localhost'
|