reapplying warning cleanup
| | |
| | | - name: Fail if az not available |
| | | fail: |
| | | msg: you need azure-cli installed |
| | | when: az_result|failed |
| | | when: az_resultis failed |
| | | |
| | | - set_fact: |
| | | stack_tag: "{{env_type | replace('-', '_')}}_{{guid}}" |
| | |
| | | AZURE_CONFIG_DIR: "/tmp/.azure-{{project_tag}}" |
| | | command: "az vm restart --resource-group {{az_resource_group}} --name '{{inventory_hostname}}'" |
| | | delegate_to: localhost |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | | |
| | | - name: wait for linux host to be available (retry) |
| | | wait_for_connection: |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | | |
| | | - ping: |
| | | register: rping |
| | | retries: 3 |
| | | delay: 10 |
| | | until: rping | succeeded |
| | | until: rping is succeeded |
| | | |
| | | |
| | | # < get internal domain name for later use |
| | |
| | | AZURE_CONFIG_DIR: "/tmp/.azure-{{project_tag}}" |
| | | command: "az vm restart --resource-group {{az_resource_group}} --name '{{inventory_hostname}}'" |
| | | delegate_to: localhost |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | | |
| | | - name: wait for windows host to be available (retry) |
| | | wait_for_connection: |
| | | timeout: 900 |
| | | connect_timeout: 60 |
| | | delay: 120 |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | |
| | | - debug: |
| | | msg: "setup OSP is set to {{ setup_osp }}" |
| | | |
| | | - include: osp.yml |
| | | - import_playbook osp.yml |
| | | when: setup_osp|bool |
| | | |
| | | - include: bastion.yml |
| | | - import_playbook bastion.yml |
| | | when: setup_bastion |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-28e07e50 |
| | | {% else %} |
| | | RHELAMI: ami-223f945a |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | # See: https://github.com/nickhammond/ansible-logrotate |
| | | logrotate_scripts=[{"name": "syslog", "path": "/var/log/cron\n/var/log/maillog\n/var/log/messages\n/var/log/secure\n/var/log/spooler\n", "options": ["daily", "rotate 7","size 500M", "compress", "sharedscripts", "missingok"], "scripts": {"postrotate": "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"}}] |
| | | |
| | | {% if osrelease | version_compare('3.7', '<') %} |
| | | {% if osrelease is version_compare('3.7', '<') %} |
| | | # Anything before 3.7 |
| | | openshift_metrics_image_version=v{{ repo_version }} |
| | | #openshift_image_tag=v{{ repo_version }} |
| | |
| | | #os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant' |
| | | {{multi_tenant_setting}} |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | # This should be turned on once all dependent scripts use firewalld rather than iptables |
| | | # os_firewall_use_firewalld=True |
| | | {% endif %} |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | ########################################################################### |
| | | ### OpenShift admission plugin config |
| | | ########################################################################### |
| | |
| | | ########################################################################### |
| | | |
| | | # Enable cluster metrics |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_metrics_install_metrics={{install_metrics}} |
| | | openshift_hosted_metrics_deploy={{install_metrics}} |
| | |
| | | openshift_metrics_heapster_nodeselector={"env":"infra"} |
| | | |
| | | # Enable cluster logging |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_logging_install_logging={{install_logging}} |
| | | openshift_hosted_logging_deploy={{install_logging}} |
| | |
| | | ### OpenShift Service Catalog Vars |
| | | ########################################################################### |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | openshift_enable_service_catalog=true |
| | | template_service_broker_install=true |
| | | template_service_broker_selector={"env":"infra"} |
| | |
| | | enabled=1 |
| | | gpgcheck=0 |
| | | |
| | | {% if osrelease | version_compare('3.9', '>=') %} |
| | | {% if osrelease is version_compare('3.9', '>=') %} |
| | | ## Required since OCP 3.9 |
| | | [rhel-7-server-ansible-2.4-rpms] |
| | | name=Red Hat Enterprise Linux Ansible (RPMs) |
| | |
| | | ################################################################################ |
| | | ################################################################################ |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/pre_infra.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/pre_infra.yml" |
| | | tags: |
| | | - step000 |
| | | - pre_infra_tasks |
| | |
| | | ################################################################################# |
| | | ################################################################################# |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/cloud_providers/{{ cloud_provider }}_infrastructure_deployment.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/cloud_providers/{{ cloud_provider }}_infrastructure_deployment.yml" |
| | | tags: |
| | | - step001 |
| | | - deploy_infrastructure |
| | |
| | | ################################################################################# |
| | | ################################################################################# |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/post_infra.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/post_infra.yml" |
| | | tags: |
| | | - step002 |
| | | - post_infra_tasks |
| | |
| | | - "./env_vars.yml" |
| | | - "./env_secret_vars.yml" |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/workdir/lightbulb/tools/aws_lab_setup/teardown_lab.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/workdir/lightbulb/tools/aws_lab_setup/teardown_lab.yml" |
| | |
| | | dest: "{{ ANSIBLE_REPO_PATH }}/workdir/lightbulb" |
| | | version: e746bfd9b9579dc2b619b2e6de802639accbfee3 |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/workdir/lightbulb/tools/aws_lab_setup/provision_lab.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/workdir/lightbulb/tools/aws_lab_setup/provision_lab.yml" |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-223f945a |
| | | {% else %} |
| | | RHELAMI: ami-9fa343e7 |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-223f945a |
| | | {% else %} |
| | | RHELAMI: ami-9fa343e7 |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | enabled=1 |
| | | gpgcheck=0 |
| | | |
| | | {% if osrelease | version_compare('3.9', '>=') %} |
| | | {% if osrelease is version_compare('3.9', '>=') %} |
| | | ## Required since OCP 3.9 |
| | | [rhel-7-server-ansible-2.4-rpms] |
| | | name=Red Hat Enterprise Linux Ansible (RPMs) |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-223f945a |
| | | {% else %} |
| | | RHELAMI: ami-9fa343e7 |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | enabled=1 |
| | | gpgcheck=0 |
| | | |
| | | {% if osrelease | version_compare('3.9', '>=') %} |
| | | {% if osrelease is version_compare('3.9', '>=') %} |
| | | ## Required since OCP 3.9 |
| | | [rhel-7-server-ansible-2.4-rpms] |
| | | name=Red Hat Enterprise Linux Ansible (RPMs) |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-223f945a |
| | | {% else %} |
| | | RHELAMI: ami-9fa343e7 |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-223f945a |
| | | {% else %} |
| | | RHELAMI: ami-9fa343e7 |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | # See: https://github.com/nickhammond/ansible-logrotate |
| | | logrotate_scripts=[{"name": "syslog", "path": "/var/log/cron\n/var/log/maillog\n/var/log/messages\n/var/log/secure\n/var/log/spooler\n", "options": ["daily", "rotate 7","size 500M", "compress", "sharedscripts", "missingok"], "scripts": {"postrotate": "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"}}] |
| | | |
| | | {% if osrelease | version_compare('3.7', '<') %} |
| | | {% if osrelease is version_compare('3.7', '<') %} |
| | | # Anything before 3.7 |
| | | openshift_metrics_image_version=v{{ repo_version }} |
| | | #openshift_image_tag=v{{ repo_version }} |
| | |
| | | #os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant' |
| | | {{multi_tenant_setting}} |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | # This should be turned on once all dependent scripts use firewalld rather than iptables |
| | | # os_firewall_use_firewalld=True |
| | | {% endif %} |
| | |
| | | ########################################################################### |
| | | |
| | | # Enable cluster metrics |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_metrics_install_metrics={{install_metrics}} |
| | | |
| | |
| | | openshift_metrics_heapster_nodeselector={"env":"infra"} |
| | | |
| | | # Enable cluster logging |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_logging_install_logging={{install_logging}} |
| | | |
| | |
| | | ### OpenShift Service Catalog Vars |
| | | ########################################################################### |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | openshift_enable_service_catalog=true |
| | | template_service_broker_install=true |
| | | template_service_broker_selector={"env":"infra"} |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-28e07e50 |
| | | {% else %} |
| | | RHELAMI: ami-223f945a |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | # See: https://github.com/nickhammond/ansible-logrotate |
| | | logrotate_scripts=[{"name": "syslog", "path": "/var/log/cron\n/var/log/maillog\n/var/log/messages\n/var/log/secure\n/var/log/spooler\n", "options": ["daily", "rotate 7","size 500M", "compress", "sharedscripts", "missingok"], "scripts": {"postrotate": "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"}}] |
| | | |
| | | {% if osrelease | version_compare('3.7', '<') %} |
| | | {% if osrelease is version_compare('3.7', '<') %} |
| | | # Anything before 3.7 |
| | | openshift_metrics_image_version=v{{ repo_version }} |
| | | #openshift_image_tag=v{{ repo_version }} |
| | |
| | | #os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant' |
| | | {{multi_tenant_setting}} |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | # This should be turned on once all dependent scripts use firewalld rather than iptables |
| | | # os_firewall_use_firewalld=True |
| | | {% endif %} |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | ########################################################################### |
| | | ### OpenShift admission plugin config |
| | | ########################################################################### |
| | |
| | | ########################################################################### |
| | | |
| | | # Enable cluster metrics |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_metrics_install_metrics={{install_metrics}} |
| | | openshift_hosted_metrics_deploy={{install_metrics}} |
| | |
| | | openshift_metrics_heapster_nodeselector={"env":"infra"} |
| | | |
| | | # Enable cluster logging |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_logging_install_logging={{install_logging}} |
| | | openshift_hosted_logging_deploy={{install_logging}} |
| | |
| | | ### OpenShift Service Catalog Vars |
| | | ########################################################################### |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | openshift_enable_service_catalog=true |
| | | template_service_broker_install=true |
| | | template_service_broker_selector={"env":"infra"} |
| | |
| | | enabled=1 |
| | | gpgcheck=0 |
| | | |
| | | {% if osrelease | version_compare('3.9', '>=') %} |
| | | {% if osrelease is version_compare('3.9', '>=') %} |
| | | ## Required since OCP 3.9 |
| | | [rhel-7-server-ansible-2.4-rpms] |
| | | name=Red Hat Enterprise Linux Ansible (RPMs) |
| | |
| | | ################################################################################ |
| | | ################################################################################ |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/pre_infra.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/pre_infra.yml" |
| | | tags: |
| | | - step000 |
| | | - pre_infra_tasks |
| | |
| | | ################################################################################# |
| | | ################################################################################# |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/cloud_providers/{{ cloud_provider }}_infrastructure_deployment.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/cloud_providers/{{ cloud_provider }}_infrastructure_deployment.yml" |
| | | tags: |
| | | - step001 |
| | | - deploy_infrastructure |
| | |
| | | ################################################################################# |
| | | ################################################################################# |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/post_infra.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/post_infra.yml" |
| | | tags: |
| | | - step002 |
| | | - post_infra_tasks |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-223f945a |
| | | {% else %} |
| | | RHELAMI: ami-9fa343e7 |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | # See: https://github.com/nickhammond/ansible-logrotate |
| | | logrotate_scripts=[{"name": "syslog", "path": "/var/log/cron\n/var/log/maillog\n/var/log/messages\n/var/log/secure\n/var/log/spooler\n", "options": ["daily", "rotate 7","size 500M", "compress", "sharedscripts", "missingok"], "scripts": {"postrotate": "/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true"}}] |
| | | |
| | | {% if osrelease | version_compare('3.7', '<') %} |
| | | {% if osrelease is version_compare('3.7', '<') %} |
| | | # Anything before 3.7 |
| | | openshift_metrics_image_version=v{{ repo_version }} |
| | | #openshift_image_tag=v{{ repo_version }} |
| | |
| | | #os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant' |
| | | {{multi_tenant_setting}} |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | # This should be turned on once all dependent scripts use firewalld rather than iptables |
| | | # os_firewall_use_firewalld=True |
| | | {% endif %} |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | ########################################################################### |
| | | ### OpenShift admission plugin config |
| | | ########################################################################### |
| | |
| | | ########################################################################### |
| | | |
| | | # Enable cluster metrics |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_metrics_install_metrics={{install_metrics}} |
| | | openshift_hosted_metrics_deploy={{install_metrics}} |
| | |
| | | openshift_metrics_heapster_nodeselector={"env":"infra"} |
| | | |
| | | # Enable cluster logging |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | |
| | | openshift_logging_install_logging={{install_logging}} |
| | | openshift_hosted_logging_deploy={{install_logging}} |
| | |
| | | ### OpenShift Service Catalog Vars |
| | | ########################################################################### |
| | | |
| | | {% if osrelease | version_compare('3.7', '>=') %} |
| | | {% if osrelease is version_compare('3.7', '>=') %} |
| | | openshift_enable_service_catalog=true |
| | | template_service_broker_install=true |
| | | template_service_broker_selector={"env":"infra"} |
| | |
| | | ################################################################################ |
| | | ################################################################################ |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/pre_infra.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/pre_infra.yml" |
| | | tags: |
| | | - step000 |
| | | - pre_infra_tasks |
| | |
| | | ################################################################################# |
| | | ################################################################################# |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/cloud_providers/{{ cloud_provider }}_infrastructure_deployment.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/cloud_providers/{{ cloud_provider }}_infrastructure_deployment.yml" |
| | | tags: |
| | | - step001 |
| | | - deploy_infrastructure |
| | |
| | | ################################################################################# |
| | | ################################################################################# |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/post_infra.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/post_infra.yml" |
| | | tags: |
| | | - step002 |
| | | - post_infra_tasks |
| | |
| | | vars_files: |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | tasks: |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | |
| | | - include_role: |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles/openshift_commons_facts" |
| | |
| | | - name: create image builder project {{ project_name }} |
| | | shell: "{{ openshift_cli }} new-project {{ project_name }} --description='DO NOT REMOVE THIS PROJECT. NEEDED FOR COOLSTORE DEMO'" |
| | | ignore_errors: true |
| | | when: result|failed |
| | | when: resultis failed |
| | | |
| | | - import_role: |
| | | name: openshift_jenkins |
| | |
| | | vars_files: |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | tasks: |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | |
| | | - include_role: |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles/openshift_commons_facts" |
| | |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | |
| | | tasks: |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | |
| | | - include_role: |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles/openshift_commons_facts" |
| | |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | |
| | | tasks: |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | |
| | | - include_role: |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles/openshift_commons_facts" |
| | |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | |
| | | tasks: |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | |
| | | - include_role: |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles/openshift_commons_facts" |
| | |
| | | vars_files: |
| | | - "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/env_vars.yml" |
| | | tasks: |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{env_type}}/create_oc_config.yml" |
| | | |
| | | - include_role: |
| | | name: "{{ ANSIBLE_REPO_PATH }}/roles/openshift_commons_facts" |
| | |
| | | - name: wait for database deployments in project {{ project_cicd }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_cicd }} -l comp-type=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for database deployments in project {{ project_prod }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_prod }} -l comp-type=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for database deployments in project {{ project_test }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_test }} -l comp-type=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for database deployments in project {{ project_dev }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_dev }} -l comp-type=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for other deployments in project {{ project_cicd }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_cicd }} -l comp-type!=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for other deployments in project {{ project_prod }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_prod }} -l comp-type!=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for other deployments in project {{ project_stage }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_stage }} -l comp-type!=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for other deployments in project {{ project_test }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_test }} -l comp-type!=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | - name: wait for other deployments in project {{ project_dev }} to complete (succeed or fail) |
| | | shell: "oc get pods -n {{ project_dev }} -l comp-type!=database | grep '\\-deploy\\s' | grep 'Running'" |
| | | register: deployment_running |
| | | until: deployment_running|failed |
| | | until: deployment_runningis failed |
| | | retries: 20 |
| | | delay: 30 |
| | | ignore_errors: true |
| | |
| | | Mappings: |
| | | RegionMapping: |
| | | us-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6871a115 |
| | | {% else %} |
| | | RHELAMI: ami-c998b6b2 |
| | | {% endif %} |
| | | us-east-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-03291866 |
| | | {% else %} |
| | | RHELAMI: ami-cfdafaaa |
| | | {% endif %} |
| | | us-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-18726478 |
| | | {% else %} |
| | | RHELAMI: ami-66eec506 |
| | | {% endif %} |
| | | us-west-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-223f945a |
| | | {% else %} |
| | | RHELAMI: ami-9fa343e7 |
| | | {% endif %} |
| | | eu-west-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-7c491f05 |
| | | {% else %} |
| | | RHELAMI: ami-bb9a6bc2 |
| | | {% endif %} |
| | | eu-central-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-c86c3f23 |
| | | {% else %} |
| | | RHELAMI: ami-d74be5b8 |
| | | {% endif %} |
| | | ap-northeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-6b0d5f0d |
| | | {% else %} |
| | | RHELAMI: ami-30ef0556 |
| | | {% endif %} |
| | | ap-northeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-3eee4150 |
| | | {% else %} |
| | | RHELAMI: ami-0f5a8361 |
| | | {% endif %} |
| | | ap-southeast-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-76144b0a |
| | | {% else %} |
| | | RHELAMI: ami-10bb2373 |
| | | {% endif %} |
| | | ap-southeast-2: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-67589505 |
| | | {% else %} |
| | | RHELAMI: ami-ccecf5af |
| | | {% endif %} |
| | | ap-south-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-5b673c34 |
| | | {% else %} |
| | | RHELAMI: ami-cdbdd7a2 |
| | | {% endif %} |
| | | sa-east-1: |
| | | {% if osrelease | version_compare('3.9.25', '>=') %} |
| | | {% if osrelease is version_compare('3.9.25', '>=') %} |
| | | RHELAMI: ami-b0b7e3dc |
| | | {% else %} |
| | | RHELAMI: ami-a789ffcb |
| | |
| | | enabled=1 |
| | | gpgcheck=0 |
| | | |
| | | {% if osrelease | version_compare('3.9', '>=') %} |
| | | {% if osrelease is version_compare('3.9', '>=') %} |
| | | ## Required since OCP 3.9 |
| | | [rhel-7-server-ansible-2.4-rpms] |
| | | name=Red Hat Enterprise Linux Ansible (RPMs) |
| | |
| | | ################################################################################ |
| | | ################################################################################ |
| | | |
| | | - include: "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/destroy_env.yml" |
| | | - import_playbook "{{ ANSIBLE_REPO_PATH }}/configs/{{ env_type }}/destroy_env.yml" |
| | |
| | | ################################### |
| | | # Common Packages |
| | | ################################### |
| | | - include: nodes_setup.yml |
| | | - import_playbook nodes_setup.yml |
| | | |
| | | ################################### |
| | | # Base setup of Tower |
| | | ################################### |
| | | # - include: tower_setup.yml |
| | | # - import_playbook tower_setup.yml |
| | | |
| | | ################################### |
| | | # tower-cli users setup |
| | | ################################### |
| | | # - include: user_setup.yml |
| | | # - import_playbook user_setup.yml |
| | | |
| | |
| | | --- |
| | | |
| | | - include: epel.yml |
| | | - import_playbook epel.yml |
| | | when: ansible_os_family == "RedHat" |
| | |
| | | - provision_cf_template |
| | | register: cloudformation_out |
| | | until: |
| | | - cloudformation_out|succeeded |
| | | - cloudformation_out is succeeded |
| | | - cloudformation_out.output in ["Stack CREATE complete", "Stack is already up-to-date."] |
| | | retries: "{{ cloudformation_retries | default(25) }}" |
| | | delay: 60 |
| | |
| | | debug: |
| | | var: cloudformation_out |
| | | tags: provision_cf_template |
| | | when: not cloudformation_out|succeeded |
| | | when: not cloudformation_out is succeeded |
| | | |
| | | - name: report Cloudformation error |
| | | fail: |
| | | msg: "FAIL {{ project_tag }} Create Cloudformation" |
| | | when: not cloudformation_out|succeeded |
| | | when: not cloudformation_out is succeeded |
| | | tags: |
| | | - provision_cf_template |
| | | |
| | |
| | | AWS_DEFAULT_REGION: "{{aws_region}}" |
| | | command: "aws ec2 reboot-instances --instance-ids '{{instance_id}}'" |
| | | delegate_to: localhost |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | | |
| | | - name: wait for linux host to be available (retry) |
| | | wait_for_connection: |
| | | delay: 60 |
| | | timeout: 200 |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | | |
| | | - ping: |
| | | register: rping |
| | | retries: 3 |
| | | delay: 10 |
| | | until: rping | succeeded |
| | | until: rping is succeeded |
| | | tags: must |
| | |
| | | AWS_DEFAULT_REGION: "{{aws_region}}" |
| | | command: "aws ec2 reboot-instances --instance-ids '{{instance_id}}'" |
| | | delegate_to: localhost |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | | |
| | | - name: wait for windows host to be available (retry) |
| | | wait_for_connection: |
| | | timeout: 900 |
| | | connect_timeout: 60 |
| | | delay: 120 |
| | | when: rwait|failed |
| | | when: rwait is failed is succeeded |
| | |
| | | --- |
| | | - include: setup-RedHat.yml |
| | | - import_playbook setup-RedHat.yml |
| | | when: ansible_os_family == 'RedHat' |
| | | |
| | | - include: setup-Debian.yml |
| | | - import_playbook setup-Debian.yml |
| | | when: ansible_os_family == 'Debian' |
| | | |
| | | - name: Define nodejs_install_npm_user |
| | |
| | | -p PROJECT={{ocp_project}} \ |
| | | -p APPLICATION_NAME=gpte > /tmp/{{guid}}/gpte-dm-demo.txt |
| | | |
| | | - include: ./wait_for_build.yml |
| | | - import_playbook ./wait_for_build.yml |
| | | static: no |
| | | vars: |
| | | build_to_wait: |
| | |
| | | |
| | | - name: resume gpte-rhdmcentr |
| | | shell: oc rollout resume dc/gpte-rhdmcentr -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume gpte-kieserver |
| | | shell: oc rollout resume dc/gpte-kieserver -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume gpte-ng-dmf |
| | | shell: oc rollout resume dc/gpte-ng-dmf -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume {{app_name}}-rhpamcentr |
| | | shell: oc rollout resume dc/{{app_name}}-rhpamcentr -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | #- name: resume {{app_name}}-postgresql |
| | | # shell: oc rollout resume dc/{{app_name}}-postgresql-1 dc/{{app_name}}-postgresql-2 -n {{ocp_project}} |
| | | #- include: ./wait_for_deploy.yml |
| | | #- import_playbook ./wait_for_deploy.yml |
| | | # static: no |
| | | # vars: |
| | | # pod_to_wait: |
| | |
| | | |
| | | - name: resume {{app_name}}-kieserver |
| | | shell: oc rollout resume dc/{{app_name}}-kieserver -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | #- name: resume {{app_name}}-smartrouter |
| | | # shell: oc rollout resume dc/{{app_name}}-smartrouter -n {{ocp_project}} |
| | | #- include: ./wait_for_deploy.yml |
| | | #- import_playbook ./wait_for_deploy.yml |
| | | # static: no |
| | | # vars: |
| | | # pod_to_wait: |
| | |
| | | |
| | | |
| | | #### Wait for the build to complete before slapping on the quota .... |
| | | - include: ./wait_for_build.yml |
| | | - import_playbook ./wait_for_build.yml |
| | | static: no |
| | | vars: |
| | | build_to_wait: |
| | |
| | | - fsi-customer |
| | | |
| | | #### Wait for the deployment to complete before slapping on the quota ... |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume syndesis oauthproxy and db |
| | | shell: oc rollout resume dc/syndesis-oauthproxy dc/syndesis-db -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | oc scale dc/broker-amq --replicas=1 -n {{ocp_project}} |
| | | - name: resume broker-amq |
| | | shell: oc rollout resume dc/broker-amq -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume syndesis-meta |
| | | shell: oc rollout resume dc/syndesis-meta -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume syndesis-server |
| | | shell: oc rollout resume dc/syndesis-server -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume syndesis-ui |
| | | shell: oc rollout resume dc/syndesis-ui -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume syndesis-prometheus |
| | | shell: oc rollout resume dc/syndesis-prometheus -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | |
| | | - name: resume todo |
| | | shell: oc rollout resume dc/todo -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | -p CATALOG_DB_PASSWORD=mongo \ |
| | | -n {{ocp_project}} |
| | | |
| | | - include: ./wait_for_build.yml |
| | | - import_playbook ./wait_for_build.yml |
| | | static: no |
| | | vars: |
| | | build_to_wait: |
| | |
| | | |
| | | - name: resume catalog-service |
| | | shell: oc rollout resume dc/catalog-service -n {{ocp_project}} |
| | | - include: ./wait_for_deploy.yml |
| | | - import_playbook ./wait_for_deploy.yml |
| | | static: no |
| | | vars: |
| | | pod_to_wait: |
| | |
| | | # vim: set ft=ansible: |
| | | --- |
| | | |
| | | - include: packages.yml |
| | | - include: users.yml |
| | | - include: git_repos.yml |
| | | - include: at.yml |
| | | - import_playbook packages.yml |
| | | - import_playbook users.yml |
| | | - import_playbook git_repos.yml |
| | | - import_playbook at.yml |
| | | |
| | | - name: Create ~/bin |
| | | file: |
| | |
| | | # pip install pywinrm |
| | | |
| | | |
| | | - include: sshd.yml |
| | | - import_playbook sshd.yml |
| | | when: install_win_ssh | bool |
| | | |
| | | - win_shell: "systeminfo | findstr /C:OS" |
| | |
| | | # vim: set ft=ansible: |
| | | --- |
| | | - include: service_account.yml |
| | | - import_playbook service_account.yml |
| | | run_once: true |
| | |
| | | # vim: set ft=ansible: |
| | | --- |
| | | - include: docker.yml |
| | | - include: lvm.yml |
| | | - include: openshift_node.yml |
| | | - import_playbook docker.yml |
| | | - import_playbook lvm.yml |
| | | - import_playbook openshift_node.yml |
| | | when: |
| | | - zabbix_token is defined |
| | | - hawkular_route is defined |
| | |
| | | # vim: set ft=ansible: |
| | | --- |
| | | - include: install.yml |
| | | - include: networking.yml |
| | | - include: selinux.yml |
| | | - import_playbook install.yml |
| | | - import_playbook networking.yml |
| | | - import_playbook selinux.yml |
| | | |
| | | - name: Configure Zabbix |
| | | copy: |
| | |
| | | state: started |
| | | enabled: yes |
| | | |
| | | - include: auto_registration.yml |
| | | - import_playbook auto_registration.yml |
| | | when: |
| | | - zabbix_hostname is defined |
| | | - zabbix_auto_registration_keyword is defined |
| | |
| | | |
| | | - name: Set zabbix agent permissive in SElinux |
| | | command: semanage permissive -a zabbix_agent_t |
| | | when: permissive|failed |
| | | when: permissiveis failed |