Loading .gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -129,12 +129,24 @@ apply: tags: - neutrons-multi-builder orc-workaround: stage: configure extends: .ansible-playbook variables: PLAYBOOK: "orc-workaround.yaml" configure-storage: stage: configure extends: .ansible-playbook variables: PLAYBOOK: "persistent-volume.yaml" system-update: stage: configure extends: .ansible-playbook variables: PLAYBOOK: "system-update.yaml" setup-docker: stage: post-setup extends: .ansible-playbook Loading ansible/orc-workaround.yaml 0 → 100644 +8 −0 Original line number Diff line number Diff line - hosts: all become: true tasks: - name: ORC WORK AROUND - Add influx xenial public key by id from Ubuntu keyserver ansible.builtin.apt_key: keyserver: keyserver.ubuntu.com id: D8FF8E1F7DF8B07E ansible/system-update.yaml 0 → 100644 +42 −0 Original line number Diff line number Diff line --- - hosts: all gather_facts: yes become: yes tasks: - name: Perform a dist-upgrade. ansible.builtin.apt: upgrade: dist update_cache: yes - name: Check if a reboot is required. ansible.builtin.stat: path: /var/run/reboot-required get_md5: no register: reboot_required_file - name: Reboot the server (if required). ansible.builtin.reboot: when: reboot_required_file.stat.exists == true - name: Remove dependencies that are no longer required. ansible.builtin.apt: autoremove: yes - name: Install aptitude become: true ansible.builtin.apt: name: aptitude state: latest update_cache: true retries: 3 delay: 5 register: result until: result - name: Update and upgrade apt packages become: true ansible.builtin.apt: upgrade: yes update_cache: yes cache_valid_time: 86400 # one day No newline at end of file main.tf +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ module "drtsans_lfs_runners_green" { flavor = var.flavor image_uuid = var.image_uuid ssh_key_file = var.ssh_key_file volume_size = 20 volume_size = 40 ssh_username = var.user network_name = var.network_name runner_tokens = local.runner_tokens_green Loading Loading
.gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -129,12 +129,24 @@ apply: tags: - neutrons-multi-builder orc-workaround: stage: configure extends: .ansible-playbook variables: PLAYBOOK: "orc-workaround.yaml" configure-storage: stage: configure extends: .ansible-playbook variables: PLAYBOOK: "persistent-volume.yaml" system-update: stage: configure extends: .ansible-playbook variables: PLAYBOOK: "system-update.yaml" setup-docker: stage: post-setup extends: .ansible-playbook Loading
ansible/orc-workaround.yaml 0 → 100644 +8 −0 Original line number Diff line number Diff line - hosts: all become: true tasks: - name: ORC WORK AROUND - Add influx xenial public key by id from Ubuntu keyserver ansible.builtin.apt_key: keyserver: keyserver.ubuntu.com id: D8FF8E1F7DF8B07E
ansible/system-update.yaml 0 → 100644 +42 −0 Original line number Diff line number Diff line --- - hosts: all gather_facts: yes become: yes tasks: - name: Perform a dist-upgrade. ansible.builtin.apt: upgrade: dist update_cache: yes - name: Check if a reboot is required. ansible.builtin.stat: path: /var/run/reboot-required get_md5: no register: reboot_required_file - name: Reboot the server (if required). ansible.builtin.reboot: when: reboot_required_file.stat.exists == true - name: Remove dependencies that are no longer required. ansible.builtin.apt: autoremove: yes - name: Install aptitude become: true ansible.builtin.apt: name: aptitude state: latest update_cache: true retries: 3 delay: 5 register: result until: result - name: Update and upgrade apt packages become: true ansible.builtin.apt: upgrade: yes update_cache: yes cache_valid_time: 86400 # one day No newline at end of file
main.tf +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ module "drtsans_lfs_runners_green" { flavor = var.flavor image_uuid = var.image_uuid ssh_key_file = var.ssh_key_file volume_size = 20 volume_size = 40 ssh_username = var.user network_name = var.network_name runner_tokens = local.runner_tokens_green Loading