Commit 602d3050 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

playbook: Enforce soft and instance directories existence

As package provided does not ensure creation of /opt/slapgrid and
/srv/slapgrid add them if not present.
parent 4bfe9d32
- name: Ensure software directory exists
file:
path: /opt/slapgrid
state: directory
mode: 0755
- name: Ensure instance directory exists
file:
path: /srv/slapgrid
state: directory
mode: 0755
- name: Install packages using apt - name: Install packages using apt
apt: name=slapos-node state=present update_cache=yes cache_valid_time=3600 apt: name=slapos-node state=present update_cache=yes cache_valid_time=3600
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"
......
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