1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Update main.yml

This commit is contained in:
A Holt 2019-01-10 19:59:29 -05:00 committed by GitHub
parent cc05e9e0a1
commit 4cfb6f013e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,23 @@
set_fact:
uuid: "{{ stored_uuid.stdout_lines[0] }}"
- name: Does directory /ro exist? (indicating OS is Ubermix)
stat:
path: /ro
register: ro_dir
# - debug:
# var: ro_dir
- name: If so, install /etc/tmpfiles.d/iiab.conf to create /var/log subdirs on each boot, so {Apache, MongoDB, Munin} run on Ubermix
copy:
src: roles/1-prep/files/iiab.conf
dest: /etc/tmpfiles.d/
owner: root
group: root
mode: 0644
when: ro_dir.stat.exists
- name: SSHD
include_role:
name: sshd