Commit 0c03ac2e authored by Jérome Perrin's avatar Jérome Perrin

slapos-proxy: install slapos-node with package role on debian

CentOS has exception, so we keep installing with tasks
parent 38e02386
--- ---
dependencies: dependencies:
- { role: repository, when: not slapos_ansible_offline} - { role: repository, when: not slapos_ansible_offline}
- { role: package, package_name: slapos-node, package_state: present, when: ansible_distribution != "CentOS"}
...@@ -10,10 +10,6 @@ ...@@ -10,10 +10,6 @@
state: directory state: directory
mode: 0755 mode: 0755
- name: Install slapos-node on Debian
apt: name=slapos-node state=present update_cache=yes cache_valid_time=3600
when: ansible_os_family == "Debian" and not slapos_ansible_offline
- name: Uninstall firewalld on CentOS - name: Uninstall firewalld on CentOS
yum: name=firewalld state=absent update_cache=yes yum: name=firewalld state=absent update_cache=yes
when: ansible_distribution == "CentOS" when: ansible_distribution == "CentOS"
......
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