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










                                                                               
                                                                        






                                               
                                                                       
          

                 
  

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

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

- name: Upgrading packages for system type = {{ ansible_distribution }}
  package:
    name: "*"
    state: latest
  
remember that computers suck.