aboutsummaryrefslogtreecommitdiffstats
path: root/roles/update/tasks/main.yml
blob: 978392656f02efec839a30136ccd7b270b899a22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

# =========================================================================== #
#                   __                          __      __     
#       _________  / /__       __  ______  ____/ /___ _/ /____ 
#      / ___/ __ \/ / _ \     / / / / __ \/ __  / __ `/ __/ _ \
#     / /  / /_/ / /  __/    / /_/ / /_/ / /_/ / /_/ / /_/  __/
#    /_/   \____/_/\___(_)   \__,_/ .___/\__,_/\__,_/\__/\___/ 
#                                /_/
# =========================================================================== #

---
- name: Copy default mirror for openbsd hosts
  copy:
    src: installurl
    dest: /etc/installurl
    owner: root
    group: "{{ group_root }}"
  when: inventory_hostname in groups["openbsd"]

- name: Upgrading packages for distribution = {{ ansible_distribution }}
  package:
    name: "*"
    state: latest

remember that computers suck.