summaryrefslogtreecommitdiffstats
path: root/wiki/tasks/docker.yml
diff options
context:
space:
mode:
authorOpal <847966@proton.me>2022-10-15 15:27:41 -0700
committerOpal <847966@proton.me>2022-10-15 15:27:41 -0700
commita287e741842f67d0a04c48276221d85f16079d55 (patch)
tree2db596b4ba6709fe10168942bcd0fc5ed2850d02 /wiki/tasks/docker.yml
parentd86946ec21f2175d3a5aad58c1ae236291c74b7a (diff)
downloademacsconf-ansible-a287e741842f67d0a04c48276221d85f16079d55.tar.xz
emacsconf-ansible-a287e741842f67d0a04c48276221d85f16079d55.zip
merging code between old emacsconf repo, to sachac's emacsconf repo
Diffstat (limited to 'wiki/tasks/docker.yml')
-rw-r--r--wiki/tasks/docker.yml45
1 files changed, 0 insertions, 45 deletions
diff --git a/wiki/tasks/docker.yml b/wiki/tasks/docker.yml
deleted file mode 100644
index a5d73e2..0000000
--- a/wiki/tasks/docker.yml
+++ /dev/null
@@ -1,45 +0,0 @@
-- name: Set up docker stuff if on docker
- apt:
- pkg:
- - lighttpd
- - supervisor
-- name: Create the anon user
- user:
- name: anon
-- name: Set up Ikiwiki setup
- template:
- src: emacsconf.setup
- dest: "{{ ikiwiki_path }}/emacsconf.setup"
- owner: www-data
- group: www-data
-- name: Set up the ikiwiki directories
- file:
- dest: /var/www/html
- state: directory
- owner: www-data
- group: www-data
-- name: Clone the bare git repo
- git:
- bare: true
- repo: "{{ ikiwiki_git_source_mount }}"
- dest: "{{ ikiwiki_bare_git_dir }}"
- version: "{{ ikiwiki_git_branch }}"
-- name: Change owner
- file:
- dest: "{{ ikiwiki_bare_git_dir }}"
- recurse: true
- owner: www-data
- group: www-data
-- name: Clone the working git repo
- git:
- repo: "{{ ikiwiki_bare_git_dir }}"
- dest: "{{ ikiwiki_src_dir }}"
- version: "{{ ikiwiki_git_branch }}"
-- name: Copy supervisor config
- template:
- src: supervisord.conf
- dest: /etc/supervisor/conf.d/ikiwiki.conf
-- name: Start lighttpd
- service:
- name: lighttpd
- state: started