aboutsummaryrefslogblamecommitdiffstats
path: root/roles/update/tasks/main.yml
blob: 4cd3541eda450d6bb2999df653c92ccaa07d701a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                               









                                                                        

                 
 



                                               

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

---
- 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

- name: Applying syspatch for openbsd machines
  syspatch:
    apply: true
  when: inventory_hostname in groups["openbsd"]
remember that computers suck.