From f7072ebace2099ef69ac2b41e613e3ef505b3cd8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 15 Aug 2023 21:53:57 +0200 Subject: apt_ppa -> ppa --- roles/apt_ppa/README.md | 3 --- roles/apt_ppa/tasks/main.yml | 8 -------- roles/linux_status/tasks/main.yml | 2 +- roles/ppa/README.md | 3 +++ roles/ppa/tasks/main.yml | 8 ++++++++ 5 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 roles/apt_ppa/README.md delete mode 100644 roles/apt_ppa/tasks/main.yml create mode 100644 roles/ppa/README.md create mode 100644 roles/ppa/tasks/main.yml (limited to 'roles') diff --git a/roles/apt_ppa/README.md b/roles/apt_ppa/README.md deleted file mode 100644 index f7ce92c..0000000 --- a/roles/apt_ppa/README.md +++ /dev/null @@ -1,3 +0,0 @@ -This role is used to enable an Ubuntu PPA repository; can be used on Debian as -well. It downloads the repository key and adds the repository in -/etc/apt/sources.list.d. diff --git a/roles/apt_ppa/tasks/main.yml b/roles/apt_ppa/tasks/main.yml deleted file mode 100644 index 01d6809..0000000 --- a/roles/apt_ppa/tasks/main.yml +++ /dev/null @@ -1,8 +0,0 @@ -- name: Set up PPA repository - ansible.builtin.include_role: - name: apt_repo - vars: - apt_repo_name: '{{ ppa_name }}' - apt_repo_key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x{{ ppa_key }}' - apt_repo_url: 'https://ppa.launchpadcontent.net/{{ ppa_owner }}/{{ ppa_name }}/ubuntu' - apt_repo_distro: '{{ ppa_distro }}' diff --git a/roles/linux_status/tasks/main.yml b/roles/linux_status/tasks/main.yml index 8d6595c..0d93070 100644 --- a/roles/linux_status/tasks/main.yml +++ b/roles/linux_status/tasks/main.yml @@ -1,6 +1,6 @@ - name: Set up repository ansible.builtin.include_role: - name: apt_ppa + name: ppa vars: ppa_owner: egor-tensin ppa_name: linux-status diff --git a/roles/ppa/README.md b/roles/ppa/README.md new file mode 100644 index 0000000..f7ce92c --- /dev/null +++ b/roles/ppa/README.md @@ -0,0 +1,3 @@ +This role is used to enable an Ubuntu PPA repository; can be used on Debian as +well. It downloads the repository key and adds the repository in +/etc/apt/sources.list.d. diff --git a/roles/ppa/tasks/main.yml b/roles/ppa/tasks/main.yml new file mode 100644 index 0000000..01d6809 --- /dev/null +++ b/roles/ppa/tasks/main.yml @@ -0,0 +1,8 @@ +- name: Set up PPA repository + ansible.builtin.include_role: + name: apt_repo + vars: + apt_repo_name: '{{ ppa_name }}' + apt_repo_key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x{{ ppa_key }}' + apt_repo_url: 'https://ppa.launchpadcontent.net/{{ ppa_owner }}/{{ ppa_name }}/ubuntu' + apt_repo_distro: '{{ ppa_distro }}' -- cgit v1.2.3