summaryrefslogtreecommitdiff
path: root/roles/configure_aurto_repo/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/configure_aurto_repo/tasks/main.yml')
-rw-r--r--roles/configure_aurto_repo/tasks/main.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/configure_aurto_repo/tasks/main.yml b/roles/configure_aurto_repo/tasks/main.yml
new file mode 100644
index 0000000..e8ab37e
--- /dev/null
+++ b/roles/configure_aurto_repo/tasks/main.yml
@@ -0,0 +1,19 @@
+---
+- name: add aurto repo (1/3)
+ ansible.builtin.lineinfile:
+ path: /etc/pacman.conf
+ line: "[aurto]"
+
+- name: add aurto repo (2/3)
+ ansible.builtin.lineinfile:
+ path: /etc/pacman.conf
+ line: "SigLevel = Optional TrustAll"
+
+- name: add aurto repo (3/3)
+ ansible.builtin.lineinfile:
+ path: /etc/pacman.conf
+ line: "Server = https://aur.niyawe.de/"
+
+- name: update pacman cache
+ pacman:
+ update_cache: yes