From d50e1038b80feb1e4dc20f9934feb8207140e1e0 Mon Sep 17 00:00:00 2001 From: Rene Date: Sun, 20 Feb 2022 14:42:58 +0100 Subject: [PATCH] added task for importing gpg key --- roles/jitsimeet/tasks/main.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/roles/jitsimeet/tasks/main.yml b/roles/jitsimeet/tasks/main.yml index f489960..6037463 100644 --- a/roles/jitsimeet/tasks/main.yml +++ b/roles/jitsimeet/tasks/main.yml @@ -5,20 +5,28 @@ - block: - debug: msg: Debug + # import role webserver - import_role: name: webserver # required. The name of the role to be executed. + # install software - name: jitsimeet | adjust limits blockinfile: - path: "/etc/systemd/system.conf" # required. The file to modify. Before Ansible 2.3 this option was only usable as I(dest), I(destfile) and I(name). - block: | # not required. The text to insert inside the marker lines. If it is missing or an empty string, the block will be removed as if C(state) were specified to C(absent). + path: "/etc/systemd/system.conf" + block: | DefaultLimitNOFILE=65000 DefaultLimitNPROC=65000 DefaultTasksMax=65000 + - name: jitsimeet | reload systemd systemd: - daemon_reload: true # not required. Run daemon-reload before doing any other operations, to make sure systemd has read any changes. When set to C(yes), runs daemon-reload even if the module does not start or stop anything. + daemon_reload: true + + - name: jitsimeet | import GPG key + apt_key: + url: "https://download.jitsi.org/jitsi-key.gpg.key" + state: present # not required. choices: absent;present. Ensures that the key is present (added) or absent (revoked). rescue: - set_fact: task_failed=true