Manage a pool of nodes for a distributed test infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pre.yaml 690B

1234567891011121314151617181920212223242526272829303132
  1. - name: Configure a multi node environment
  2. hosts: all
  3. tasks:
  4. - name: Set up multi-node firewall
  5. include_role:
  6. name: multi-node-firewall
  7. - name: Set up multi-node firewall
  8. include_role:
  9. name: multi-node-hosts-file
  10. - hosts: launcher
  11. roles:
  12. - role: bindep
  13. tasks:
  14. - name: Ensure nodepool services directories
  15. file:
  16. path: '{{ ansible_user_dir }}/{{ item }}'
  17. state: directory
  18. with_items:
  19. - work/logs/nodepool
  20. - work/etc
  21. - work/images
  22. - name: Ensure oc client is installed
  23. package:
  24. name: origin-clients
  25. become: yes
  26. - hosts: cluster
  27. roles:
  28. - install-openshift