mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Update main.yml
This commit is contained in:
parent
cc05e9e0a1
commit
4cfb6f013e
1 changed files with 17 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue