From a408697d37aaff288ceb891c8d10bfc6a097628d Mon Sep 17 00:00:00 2001 From: binary Date: Tue, 8 Sep 2020 18:42:32 +0200 Subject: basically refactored --- roles/update/tasks/main.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'roles/update') diff --git a/roles/update/tasks/main.yml b/roles/update/tasks/main.yml index 4cd3541..0680189 100644 --- a/roles/update/tasks/main.yml +++ b/roles/update/tasks/main.yml @@ -9,7 +9,7 @@ # =========================================================================== # --- -- name: Copy default mirror for openbsd hosts +- name: Copy default mirror for system type = {{ ansible_distribution }} copy: src: installurl dest: /etc/installurl @@ -17,12 +17,8 @@ group: "{{ group_root }}" when: inventory_hostname in groups["openbsd"] -- name: Upgrading packages for distribution = {{ ansible_distribution }} +- name: Upgrading packages for system type = {{ ansible_distribution }} package: name: "*" state: latest - -- name: Applying syspatch for openbsd machines - syspatch: - apply: true - when: inventory_hostname in groups["openbsd"] + -- cgit v1.2.3