interop-workloads/workloads/ansible/shade/lampstack/roles/common/tasks/ubuntu.yml

12 lines
286 B
YAML
Executable File

---
- name: Setup /etc/hosts on every node
lineinfile:
dest: /etc/hosts
line: "{{ item }}"
state: present
with_lines: cat "{{ playbook_dir }}/run/lampstackhosts"
- name: Make sure that cloud-init script has completed
wait_for:
path: "/run/cloud-init/result.json"