Guillaume Coré
2018-07-24 618c1b453207d5ccec3ff50de5a61bd362498c75
fix typos
3 files modified
26 ■■■■ changed files
ansible/configs/openshift-demos/verify_all.yml 18 ●●●● patch | view | raw | blame | history
ansible/roles/infra-ec2-wait_for_linux_hosts/tasks/main.yml 4 ●●●● patch | view | raw | blame | history
ansible/roles/infra-ec2-wait_for_windows_hosts/tasks/main.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/openshift-demos/verify_all.yml
@@ -3,7 +3,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -11,7 +11,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -19,7 +19,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -27,7 +27,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -41,7 +41,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -49,7 +49,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -57,7 +57,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -65,7 +65,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
@@ -73,7 +73,7 @@
- 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_runningis failed
  until: deployment_running is failed
  retries: 20
  delay: 30
  ignore_errors: true
ansible/roles/infra-ec2-wait_for_linux_hosts/tasks/main.yml
@@ -12,13 +12,13 @@
    AWS_DEFAULT_REGION: "{{aws_region}}"
  command: "aws ec2 reboot-instances --instance-ids '{{instance_id}}'"
  delegate_to: localhost
  when: rwait is failed is succeeded
  when: rwait is failed
- name: wait for linux host to be available (retry)
  wait_for_connection:
    delay: 60
    timeout: 200
  when: rwait is failed is succeeded
  when: rwait is failed
- ping:
  register: rping
ansible/roles/infra-ec2-wait_for_windows_hosts/tasks/main.yml
@@ -14,11 +14,11 @@
    AWS_DEFAULT_REGION: "{{aws_region}}"
  command: "aws ec2 reboot-instances --instance-ids '{{instance_id}}'"
  delegate_to: localhost
  when: rwait is failed is succeeded
  when: rwait is failed
- name: wait for windows host to be available (retry)
  wait_for_connection:
    timeout: 900
    connect_timeout: 60
    delay: 120
  when: rwait is failed is succeeded
  when: rwait is failed