1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Clean 1-prep/tasks/main.yml

This commit is contained in:
A Holt 2020-01-13 11:11:46 -05:00 committed by GitHub
parent 130cf17fc7
commit 2e49e24d13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,9 +55,9 @@
copy:
src: roles/1-prep/files/iiab.conf
dest: /etc/tmpfiles.d/
owner: root
group: root
mode: 0644
# owner: root
# group: root
# mode: '0644'
force: yes
when: grep_ubermix.rc == 0 # 1 if absent in file, 2 if file doesn't exist
#when: ro_dir.stat.exists
@ -66,27 +66,26 @@
include_role:
name: sshd
# has no "when: XXXXX_install" flag
tags: base, sshd
#tags: base, sshd
- name: IIAB-ADMIN
include_role:
name: iiab-admin
# has no "when: XXXXX_install" flag
tags: base, iiab-admin
#tags: base, iiab-admin
- name: OPENVPN
include_role:
name: openvpn
when: openvpn_install | bool
tags: openvpn
#tags: openvpn
# for rpi, without rtc, we need time as soon as possible
- name: Install chrony (an NTP package) especially for RPi's lacking RTC
package:
name: chrony
state: present
tags:
- download
#tags: download
#TODO: Use regexp filter instead of hard-code ip
- name: Install /etc/chrony.conf from template
@ -102,7 +101,7 @@
# Curiously this has NOT stopped IIAB 7.0/master from working on Debian 10
# pre-releases, during @floydianslips' March 2019 testing anyway! SEE #1387
- name: Disable AppArmor -- override OS default (ubuntu)
service:
systemd:
name: apparmor
enabled: False
state: stopped
@ -141,6 +140,3 @@
template:
src: roles/1-prep/templates/iiab.env.j2
dest: "{{ iiab_env_file }}"
owner: root
group: root
mode: 0644