- debug:
msg: "{{ inventory_hostname }} is {{ ansible_distribution }}"
- include_vars: vars/defaults.yml
- - include: vars/Centos.yml
+ - include: vars/CentOS.yml
when: ansible_distribution == "CentOS"
- include: vars/Ubuntu.yml
when: ansible_distribution == "Ubuntu"
pip:
name: tox
state: present
+ - name: install yamllint
+ pip:
+ name: yamllint
+ state: present
- include: vars/docker-compose-CentOS.yml
when: ansible_distribution == "CentOS"
- include: vars/docker-compose-Ubuntu.yml