Commit ea8a2fd4 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Fix variable name for centos version

parent 0b3d6502
---
- name: Install Daemon for CentOS 6
yum: name=http://libslack.org/daemon/download/daemon-0.6.4-1.x86_64.rpm state=present
when: ansible_distribution == 'CentOS' and ansible_distribution_version <= '6' and ansible_architecture == 'x86_64'
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version <= '6' and ansible_architecture == 'x86_64'
- name: Install Daemon for CentOS 6 (i686)
yum: name=http://libslack.org/daemon/download/daemon-0.6.4-1.i686.rpm state=present
when: ansible_distribution == 'CentOS' and ansible_distribution_version <= '6' and ansible_architecture == 'i386'
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version <= '6' and ansible_architecture == 'i386'
......@@ -35,7 +35,7 @@
- name: Create centos 6 init.d missing file
copy: src=files/centos_6_init_d dest=/etc/init.d/re6stnet
when: ansible_distribution == 'CentOS' and ansible_distribution_version == '6' and recheck_re6stnet_conf.stat.exists == True
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '6' and recheck_re6stnet_conf.stat.exists == True
- name: Start re6st-node service
service: name=re6stnet state=started enabled=yes
......
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