Skip to content
Snippets Groups Projects
Commit a5434fbc authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

added Rocky code for OOD server

parent ed243d26
No related branches found
No related tags found
1 merge request!597Rocky update
...@@ -80,10 +80,15 @@ ...@@ -80,10 +80,15 @@
become: true become: true
tags: CHRISTMAS tags: CHRISTMAS
- name: print ansible-distribution
debug:
msg: "ansible_distribution is {{ ansible_distribution }} and ansible_distribution_major_version is {{ ansible_distribution_major_version }}"
- name: set use_systemd Redhat - name: set use_systemd Redhat
set_fact: set_fact:
use_systemd: True use_systemd: True
when: (ansible_distribution == "CentOS" or ansible_distribution == "RedHat") and ( ansible_distribution_major_version == "7") when: ( ansible_distribution == "Rocky" or ansible_distribution == "CentOS" or ansible_distribution == "RedHat") and ( ansible_distribution_major_version >= "7")
- name: set use_systemd Debian - name: set use_systemd Debian
set_fact: set_fact:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment