<commit_before>---
- name: Remove pull-from central registry secret if it exists
  command: "{{ oc }} get secret {{ registry_pull_secret }}"
  ignore_errors: true

- name: Create secret to pull from the central registry
  command: >-
    {{ oc }} secrets new-dockercfg {{ registry_pull_secret }}
    --docker-username=unused
    --docker-password={{ registry_pull_token }}
    --docker-email=unused --docker-server={{ central_registry_hostname }}

- name: Link docker pull registry secret to the default service account
  command: "{{ oc }} secrets link default {{ registry_pull_secret }} --for=pull"<commit_msg>Actually remove the pull secret<commit_after>---
- name: Remove pull-from central registry secret if it exists
  command: "{{ oc }} delete secret {{ registry_pull_secret }}"
  ignore_errors: true

- name: Create secret to pull from the central registry
  command: >-
    {{ oc }} secrets new-dockercfg {{ registry_pull_secret }}
    --docker-username=unused
    --docker-password={{ registry_pull_token }}
    --docker-email=unused --docker-server={{ central_registry_hostname }}

- name: Link docker pull registry secret to the default service account
  command: "{{ oc }} secrets link default {{ registry_pull_secret }} --for=pull"
{'fraction_non_alphanumeric': 0.12048192771084337, 'fraction_numerical': 0.0, 'mean_word_length': 4.044534412955466, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4720581', 'n_tokens_mistral': 344, 'n_tokens_neox': 340, 'n_words': 113}