Particulars]]). The code block below is the first to tangle into
[[file:roles/all/tasks/main.yml][=roles/all/tasks/main.yml=]].
-#+CAPTION: [[file:roles/all/tasks/main.yml][=roles/all/tasks/main.yml=]]
+#+CAPTION: [[file:roles_t/all/tasks/main.yml][=roles_t/all/tasks/main.yml=]]
#+BEGIN_SRC conf :tangle roles_t/all/tasks/main.yml :mkdirp yes
---
- name: Include public variables.
particulars. The ~front~ role refers to private variables and the
membership roll, so these are included was well.
-#+CAPTION: [[file:roles/front/tasks/main.yml][=roles/front/tasks/main.yml=]]
+#+CAPTION: [[file:roles_t/front/tasks/main.yml][=roles_t/front/tasks/main.yml=]]
#+BEGIN_SRC conf :tangle roles_t/front/tasks/main.yml :mkdirp yes
---
- name: Include public variables.
Core runs a ~nagios4~ server to monitor "services" on institute hosts.
The following tasks install the necessary packages and configure the
-server. The last task installs the monitoring configuration in
-=/etc/nagios4/conf.d/institute.cfg=. This configuration file,
-=nagios.cfg=, is tangled from code blocks described in subsequent
-subsections.
+server via edits to =/etc/nagios4/nagios.cfg=. The monitors are
+installed in =/etc/nagios4/conf.d/institute.cfg= which is tangled from
+code blocks described in the following subsections.
The institute NAGIOS configuration includes a customized version of
the ~check_sensors~ plugin named ~inst_sensors~. Both versions rely
#+BEGIN_SRC sh
cd /var/www/nextcloud/
-sudo -u www-data php occ maintenance:install \
+sudo -u www-data php occ maintenance:install \
--database='mysql' --database-name='nextcloud' \
--database-user='nextclouduser' --database-pass='ippAgmaygyobwyt5' \
--admin-user='sysadm' --admin-pass='fubar'
- Configure the keyboard
+ Keymap to use: 1 (American English)
- Configure the network
- + Hostname: front (gate, core, etc.)
- + Domain name: small.example.org (small.private)
+ + Hostname: small (gate, core, etc.)
+ + Domain name: example.org (small.private)
- Set up users and passwords.
+ Root password: <blank>
+ Full name for the new user: System Administrator
: notebook$ scp private/test-gate-prep USER@SERVER:
-: sysadm@gate$ scp USER@SERVER:test-gate-prep
+: sysadm@gate$ scp USER@SERVER:test-gate-prep ./
: sysadm@gate$ ./test-gate-prep
The script starts by installing additional software packages.
: notebook$ scp private/test-core-prep USER@SERVER:
-: sysadm@core$ scp USER@SERVER:test-core-prep
+: sysadm@core$ scp USER@SERVER:test-core-prep ./
: sysadm@core$ ./test-core-prep
The script starts by installing additional software packages.
Again, some basics are tested in a terminal.
#+BEGIN_SRC sh
-ping -c 1 8.8.4.4 # dns.google
+ping -c 1 8.8.8.8 # dns.google
ping -c 1 192.168.56.1 # core
host dns.google
host core.small.private