Commit eb94d547 authored by Łukasz Nowak's avatar Łukasz Nowak

playbook: Fix distribution name to CentOS

parent afacc29e
......@@ -16,11 +16,11 @@
- name: Uninstall firewalld on CentOS
yum: name=firewalld state=absent update_cache=yes
when: ansible_os_family == "RedHat"
when: ansible_distribution == "CentOS"
- name: Install re6stnet on CentOS
yum: name=slapos.node state=present update_cache=yes
when: ansible_os_family == "RedHat"
when: ansible_os_family == "CentOS"
- name: Check if configuration exists already
stat: path=/etc/opt/slapos/slapos.cfg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment