aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/basic/tasks/main.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/roles/basic/tasks/main.yml b/roles/basic/tasks/main.yml
index 8126d49..30eee09 100644
--- a/roles/basic/tasks/main.yml
+++ b/roles/basic/tasks/main.yml
@@ -1,5 +1,11 @@
---
-- name: pkg - update packages database
+- name: pkg - disable repo auto update
+ lineinfile:
+ path: /usr/local/etc/pkg.conf
+ regexp: "^#?REPO_AUTOUPDATE"
+ line: "REPO_AUTOUPDATE = false;"
+
+- name: pkg - update repos
command: pkg update
- name: pkg - install packages