Skip to content

Commit b093445

Browse files
author
Derek
committed
fix: Keep git-core PPA, add apply:tags to git include
- Keep PPA for latest git (2.52 vs 2.43 in Ubuntu repos) - Weak RSA-1024 key warning is Launchpad infrastructure issue - Added apply:tags to git.yml include for proper tag filtering
1 parent 55f2beb commit b093445

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

ansible/roles/dfe_developer/tasks/git.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@
1515
when: ansible_distribution == 'Fedora'
1616

1717
# ============================================================================
18-
# UBUNTU - Latest Git from PPA (modern signed-by method)
18+
# UBUNTU - Latest Git from PPA
1919
# ============================================================================
20+
# Note: The PPA uses a weak RSA-1024 signing key which causes apt warnings.
21+
# This is a Launchpad infrastructure issue - the PPA maintainer hasn't updated
22+
# their signing key yet. We keep the PPA for latest git (2.52 vs 2.43 in repos).
2023

2124
# Clean up old PPA configuration if exists (migration from legacy method)
2225
- name: Remove old git-core PPA configuration
@@ -29,12 +32,6 @@
2932
- ppa_git_core_ppa.list
3033
when: ansible_distribution == 'Ubuntu'
3134

32-
- name: Update APT cache after cleanup
33-
ansible.builtin.apt:
34-
update_cache: true
35-
when: ansible_distribution == 'Ubuntu'
36-
failed_when: false
37-
3835
- name: Install latest Git (Ubuntu)
3936
block:
4037
- name: Import git-core PPA GPG key

ansible/roles/dfe_developer/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
- name: Install Git and version control tools
3838
ansible.builtin.include_tasks:
3939
file: git.yml
40+
apply:
41+
tags: ['git']
4042
tags: ['git']
4143

4244
- name: Install cloud tools

0 commit comments

Comments
 (0)