Skip to content

Commit 54584ac

Browse files
authored
convenience updates and Ansible presentation (#16)
convenience updates and Ansible presentation The helper script simplifies rendering document changes by preliminarly bypassing the Zuul pipeline and visualizating the results via a local webserver on port tcp/5000. Reviewed-by: Artem Goncharov <None>
1 parent 0667896 commit 54584ac

20 files changed

+2619
-4
lines changed

bin/webserver.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
cd doc/build/html
4+
python3 -m http.server 5000
77.5 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
- name: Update web servers
3+
hosts: webservers
4+
remote_user: root
5+
6+
tasks:
7+
- name: Ensure apache is at the latest version
8+
ansible.builtin.yum:
9+
name: httpd
10+
state: latest
11+
- name: Write the apache config file
12+
ansible.builtin.template:
13+
src: /srv/httpd.j2
14+
dest: /etc/httpd.conf
15+
16+
17+
18+
19+
20+
21+

0 commit comments

Comments
 (0)