From da91626939084fb8d5dce0404139fd10f68ef029 Mon Sep 17 00:00:00 2001 From: Denzil Phillips Date: Thu, 9 Jan 2025 09:43:12 -0500 Subject: [PATCH] Decommission Cicognara files_retake --- inventory/all_projects/cicognara | 5 ----- playbooks/cicognara.yml | 30 ------------------------------ 2 files changed, 35 deletions(-) delete mode 100644 inventory/all_projects/cicognara delete mode 100644 playbooks/cicognara.yml diff --git a/inventory/all_projects/cicognara b/inventory/all_projects/cicognara deleted file mode 100644 index aecda87ba5..0000000000 --- a/inventory/all_projects/cicognara +++ /dev/null @@ -1,5 +0,0 @@ -[cicognara_staging] -cicognara-staging1.princeton.edu -[cicognara_production] -cicognara1.princeton.edu -cicognara2.princeton.edu diff --git a/playbooks/cicognara.yml b/playbooks/cicognara.yml deleted file mode 100644 index 187974d0fb..0000000000 --- a/playbooks/cicognara.yml +++ /dev/null @@ -1,30 +0,0 @@ ---- -# by default this playbook runs in the staging environment -# to run in production, pass '-e runtime_env=production' -- name: build the cicognara site - hosts: cicognara_{{ runtime_env | default('staging') }} - remote_user: pulsys - become: true - vars_files: - - ../site_vars.yml - - ../group_vars/cicognara/{{ runtime_env | default('staging') }}.yml - - ../group_vars/cicognara/vault.yml - roles: - - role: roles/redis - - role: roles/ruby - - role: roles/deploy_user - - role: roles/passenger - - { role: 'roles/postgresql', tags: 'postgresql' } - - role: roles/openjdk - - role: roles/solrcloud - - role: roles/blacklight_app - - role: roles/sidekiq_worker - - role: roles/datadog - when: runtime_env | default('staging') == "production" - - post_tasks: - - name: tell everyone on slack you ran an ansible playbook - slack: - token: "{{ vault_pul_slack_token }}" - msg: "Ansible ran `{{ ansible_play_name }}` on {{ inventory_hostname }}" - channel: "{{ slack_alerts_channel }}"