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