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.

run.yaml 699B

1234567891011121314151617181920212223242526
  1. - hosts: cluster
  2. roles:
  3. - deploy-openshift
  4. - hosts: launcher
  5. pre_tasks:
  6. - name: Login to the openshift cluster as developer
  7. command: >
  8. oc login -u developer -p developer --insecure-skip-tls-verify=true
  9. https://{{ hostvars['cluster']['ansible_hostname'] }}:8443
  10. # Zookeeper service doesn't start by default on fedora
  11. - name: Setup zoo.cfg
  12. command: cp /etc/zookeeper/zoo_sample.cfg /etc/zookeeper/zoo.cfg
  13. become: yes
  14. ignore_errors: yes
  15. - name: Start zookeeper
  16. service:
  17. name: zookeeper
  18. state: started
  19. become: yes
  20. ignore_errors: yes
  21. roles:
  22. - role: tox
  23. tox_envlist: functional_openshift