kolla-ansible/tools/playbook-setup-nodes.yml

22 lines
402 B
YAML

---
- hosts: all
become: true
tasks:
- name: Ensure /etc/hostname is valid for SELinux
command: restorecon -v /etc/hostname
when: ansible_os_family == 'RedHat'
- name: Install wget package
package: name=wget
- hosts: all
become: true
tasks:
- name: Create log directory for node
file:
state: directory
path: /tmp/{{ inventory_hostname }}
become: false