imfreedom/ansible

Parents 4f11840a2432
Children 50a7b4b1bab3
Update all the openbsd stuff and make sure it'll keep upgrading in the future
--- a/collections/requirements.yml Tue Nov 30 01:55:27 2021 -0600
+++ b/collections/requirements.yml Mon Dec 06 04:01:12 2021 -0600
@@ -1,4 +1,5 @@
---
collections:
- name: community.crypto
+ - name: community.general
- name: community.windows
--- a/roles/libhandy/tasks/openbsd.yml Tue Nov 30 01:55:27 2021 -0600
+++ b/roles/libhandy/tasks/openbsd.yml Mon Dec 06 04:01:12 2021 -0600
@@ -1,9 +1,6 @@
---
-- name: "install gtar"
+- name: "install libhandy"
openbsd_pkg:
- name: "gtar--"
+ name: "libhandy"
state: "present"
-- include_tasks: "source.yml"
-- name: "run ldconfig"
- shell: "ldconfig -R" # noqa 301 305
--- a/roles/openjdk/tasks/openbsd.yml Tue Nov 30 01:55:27 2021 -0600
+++ b/roles/openjdk/tasks/openbsd.yml Mon Dec 06 04:01:12 2021 -0600
@@ -1,4 +1,4 @@
- name: install dependencies
openbsd_pkg:
- name: jdk-11.0.8.10.1v0
+ name: jdk-11.0.12.7.1v0
state: present
--- a/roles/pidgin2_dependencies/tasks/openbsd.yml Tue Nov 30 01:55:27 2021 -0600
+++ b/roles/pidgin2_dependencies/tasks/openbsd.yml Mon Dec 06 04:01:12 2021 -0600
@@ -14,8 +14,7 @@
- lua-5.2.4p1
- lua52-lgi
- pkgconf
- - py-gobject3-common
- py3-gobject3
- - python-3.7.10
+ - python
- vala
state: present
--- a/roles/pidgin3_dependencies/tasks/openbsd.yml Tue Nov 30 01:55:27 2021 -0600
+++ b/roles/pidgin3_dependencies/tasks/openbsd.yml Mon Dec 06 04:01:12 2021 -0600
@@ -20,9 +20,7 @@
- p5-Glib-Object-Introspection
- p5-Glib2
- pkgconf
- - py-gobject3-common
- py3-gobject3
- - python-3.7.10
- vala
state: present
--- a/roles/teamcity/tasks/dependencies.yml Tue Nov 30 01:55:27 2021 -0600
+++ b/roles/teamcity/tasks/dependencies.yml Mon Dec 06 04:01:12 2021 -0600
@@ -16,7 +16,7 @@
when: ansible_system == "FreeBSD"
- name: install openbsd dependencies
openbsd_pkg:
- name: unzip-6.0p13
+ name: unzip-6.0p14
state: present
when: ansible_system == "OpenBSD"
--- a/roles/update/tasks/openbsd.yml Tue Nov 30 01:55:27 2021 -0600
+++ b/roles/update/tasks/openbsd.yml Mon Dec 06 04:01:12 2021 -0600
@@ -1,4 +1,18 @@
---
+- name: upgrade to the latest release
+ community.general.sysupgrade:
+ register: sysupgrade
+ ignore_errors: yes
+- name: reboot into latest release
+ reboot:
+ when: sysupgrade.changed
+- name: update system
+ community.general.syspatch:
+ register: syspatch
+- name: reboot into patched system
+ reboot:
+ when:
+ syspatch.reboot_needed
- name: update packages
openbsd_pkg:
name: '*'