Skip to content

Commit c6dd129

Browse files
committed
feat(skel): add physical skel under config/skel and sync via Ansible role
Store default skel files in repo (HTML/Gemini/Gopher templates, shell rc, plan/project, README), and update skel role to copy from config/.
1 parent eb63819 commit c6dd129

File tree

11 files changed

+49
-48
lines changed

11 files changed

+49
-48
lines changed

config/skel/.bashrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# ~/.bashrc - defaults
2+
alias ll='ls -lah'
3+
alias grep='grep --color=auto'
4+
export EDITOR=${EDITOR:-nano}

config/skel/.plan

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Describe yourself here.

config/skel/.profile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# ~/.profile - default profile for pubnix
2+
[ -r /etc/profile ] && . /etc/profile
3+
# Ensure ~/bin is on PATH
4+
case :$PATH: in
5+
*:$HOME/bin:*) ;;
6+
*) PATH="$HOME/bin:$PATH" ;;
7+
esac

config/skel/.project

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Describe your current project here.

config/skel/.ssh/config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Sample SSH client configuration (uncomment and edit to use)
2+
# Host pubnix
3+
# HostName example.org
4+
# User yourname
5+
# IdentityFile ~/.ssh/id_ed25519

config/skel/README_FIRST.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Welcome to ATL Pubnix!
2+
3+
First 10 minutes checklist:
4+
- Publish a page at ~/public_html/index.html
5+
- Explore Gemini (~/public_gemini/index.gmi) and Gopher (~/public_gopher/gophermap)
6+
- Join community chat and read the Code of Conduct
7+
- Read docs at /docs
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Welcome to ATL Pubnix
2+
3+
=> /docs Visit the docs
4+
=> /rules Read the Code of Conduct
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Welcome to ATL Pubnix
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Per-user CGI is disabled by default for security. If enabled by admins,
2+
use ~/public_html/cgi-bin for scripts. Keep in mind execution risks and
3+
never store secrets in world-readable locations.

config/skel/public_html/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!doctype html>
2+
<meta charset="utf-8" />
3+
<title>ATL Pubnix — Welcome</title>
4+
<h1>Welcome!</h1>
5+
<p>Your web space is live at <code>https://HOST/~USERNAME/</code>.</p>
6+
<p>Edit <code>~/public_html/index.html</code> to replace this page.</p>

0 commit comments

Comments
 (0)