f5354f55b1
This patches changes deploy_gate quite a bit so in reality all deployments will now assume multinode (even if it's single node). After that we will refactor it even further to enable easy addition of new scenerios. Change-Id: I1faada46e6a7aa026128b2f01d77eabb04759439
22 lines
402 B
YAML
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
|