blob: 4cd3541eda450d6bb2999df653c92ccaa07d701a (
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
25
26
27
28
|
# =========================================================================== #
# __ __ __
# _________ / /__ __ ______ ____/ /___ _/ /____
# / ___/ __ \/ / _ \ / / / / __ \/ __ / __ `/ __/ _ \
# / / / /_/ / / __/ / /_/ / /_/ / /_/ / /_/ / /_/ __/
# /_/ \____/_/\___(_) \__,_/ .___/\__,_/\__,_/\__/\___/
# /_/
# =========================================================================== #
---
- 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"]
|