From 6675ec24b0fcd990c631f82932a685b66aaffd83 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 24 Feb 2023 14:48:55 +0100 Subject: rundeck --- roles/rundeck/tasks/main.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 roles/rundeck/tasks/main.yml (limited to 'roles/rundeck/tasks/main.yml') diff --git a/roles/rundeck/tasks/main.yml b/roles/rundeck/tasks/main.yml new file mode 100644 index 0000000..b9f9ca5 --- /dev/null +++ b/roles/rundeck/tasks/main.yml @@ -0,0 +1,33 @@ +--- +- name: Install GnuPG + apt: + name: gnupg2 + become: yes + +- name: APT Key + apt_key: + url: 'https://packages.rundeck.com/pagerduty/rundeck/gpgkey' + state: present + become: yes + +- name: Install Rundeck APT Repository + template: + src: rundeck.list.j2 + dest: /etc/apt/sources.list.d/rundeck.list + become: yes + register: install_repo + +- name: Update cache + apt: + update_cache: yes + become: yes + when: install_repo.changed + +- name: Install Packages + apt: + name: + - openjdk-11-jre-headless + - rundeck + notify: Enable Rundeck + + -- cgit v1.2.3 From edbfaad3d3026c4a867a9dded6603e92fb832414 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 24 Feb 2023 15:27:43 +0100 Subject: fix rundeck --- galaxy.yml | 2 +- roles/rundeck/tasks/main.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/rundeck/tasks/main.yml') diff --git a/galaxy.yml b/galaxy.yml index 98e485d..f0f8858 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: kompetenzbolzen name: stuff -version: 0.18.0 +version: 0.18.1 readme: README.md authors: - Jonas Gunz diff --git a/roles/rundeck/tasks/main.yml b/roles/rundeck/tasks/main.yml index b9f9ca5..ef86fbc 100644 --- a/roles/rundeck/tasks/main.yml +++ b/roles/rundeck/tasks/main.yml @@ -28,6 +28,7 @@ name: - openjdk-11-jre-headless - rundeck + become: yes notify: Enable Rundeck -- cgit v1.2.3