[congenital-optimist] initial commit

pull/28/head
Alpha Chen 7 years ago
parent bac7889c2f
commit 39b1e90b6f

@ -149,7 +149,7 @@ usermode = ""
username = "alpha"
[server]
alydipha.addresses = "kejadlen.net/53023"
alydipha.addresses = "congenital-optimist.arbitrarydefinitions.com/6667"
alydipha.proxy
alydipha.ipv6
alydipha.ssl = on
@ -189,7 +189,7 @@ alydipha.msg_kick
alydipha.msg_part
alydipha.msg_quit
alydipha.notify
cloudfoundry.addresses = "kejadlen.net/53023"
cloudfoundry.addresses = "congenital-optimist.arbitrarydefinitions.com/6667"
cloudfoundry.proxy
cloudfoundry.ipv6
cloudfoundry.ssl = on
@ -229,7 +229,7 @@ cloudfoundry.msg_kick
cloudfoundry.msg_part
cloudfoundry.msg_quit
cloudfoundry.notify
pivotal.addresses = "kejadlen.net/53023"
pivotal.addresses = "congenital-optimist.arbitrarydefinitions.com/6667"
pivotal.proxy
pivotal.ipv6
pivotal.ssl = on
@ -269,7 +269,7 @@ pivotal.msg_kick
pivotal.msg_part
pivotal.msg_quit
pivotal.notify
mozilla.addresses = "kejadlen.net/53023"
mozilla.addresses = "congenital-optimist.arbitrarydefinitions.com/6667"
mozilla.proxy
mozilla.ipv6
mozilla.ssl = on

@ -41,7 +41,7 @@ ruby.check_license = "off"
tcl.check_license = "off"
[desc]
python.go.auto_jump = "on"
python.go.auto_jump = "automatically jump to buffer when it is uniquely selected (default: "off")"
python.go.buffer_number = "display buffer number (default: "on")"
python.go.color_name = "color for buffer name (not selected) (default: "black,cyan")"
python.go.color_name_highlight = "color for highlight in buffer name (not selected) (default: "red,cyan")"
@ -49,8 +49,8 @@ python.go.color_name_highlight_selected = "color for highlight in a selected buf
python.go.color_name_selected = "color for a selected buffer name (default: "black,brown")"
python.go.color_number = "color for buffer number (not selected) (default: "yellow,magenta")"
python.go.color_number_selected = "color for selected buffer number (default: "yellow,red")"
python.go.fuzzy_search = "on"
python.go.fuzzy_search = "search buffer matches using approximation (default: "off")"
python.go.message = "message to display before list of buffers (default: "Go to: ")"
python.go.short_name = "on"
python.go.short_name = "display and search in short names instead of buffer name (default: "off")"
python.go.sort = "comma-separated list of keys to sort buffers (the order is important, sorts are performed in the given order): name = sort by name (or short name), (default: "number,beginning")"
python.go.use_core_instead_weechat = "use name "core" instead of "weechat" for core buffer (default: "off")"

Binary file not shown.

@ -0,0 +1,109 @@
# https://docs.docker.com/engine/installation/linux/debian/
- hosts: congenital-optimist
become: yes
tasks:
- name: Uninstall old versions
apt:
name: "{{ item }}"
state: absent
with_items:
- docker
- docker-engine
- name: Set up the repository
apt:
name: "{{ item }}"
state: present
with_items:
- apt-transport-https
- ca-certificates
- curl
- gnupg-curl
- gnupg2
- software-properties-common
- name: Add Dockers official GPG key
apt_key:
keyserver: https://download.docker.com/linux/debian/gpg
id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
- command: lsb_release --codename --short
register: codename
- name: Set up the stable repository
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/debian {{ codename.stdout }} stable
state: present
- name: Update apt cache
apt:
update_cache: yes
- name: Install Docker CE
apt:
name: docker-ce
state: present
- name: Install pip
easy_install:
name: pip
state: latest
- name: Install docker-py
pip:
name: docker-py
- name: Create ZNC mounted volumes
file:
path: ~/znc/configs
state: directory
recurse: yes
- name: Set up ZNC
copy:
src: congenital-optimist/znc/{{ item }}.private
dest: ~/znc/{{ item }}
with_items:
- configs/znc.conf
- znc.pem
- name: Run ZNC container
docker_container:
name: znc
image: znc
state: started
restart: yes
ports:
- "6667:6667"
volumes:
- "{{ ansible_env.HOME }}/znc:/znc-data"
- name: Get public IP
ipify_facts:
- name: Create pi-hole mounted volumes
file:
path: ~/pihole/{{ item }}
state: directory
recurse: yes
with_items:
- pihole
- dnsmasq.d
- name: Run pi-hole container
docker_container:
name: pihole
image: diginc/pi-hole:alpine
state: started
restart: yes
env:
ServerIP: "{{ ipify_public_ip }}"
ports:
- "53:53/tcp"
- "53:53/udp"
- "80:80"
volumes:
- "{{ ansible_env.HOME }}/pihole/pihole:/etc/pihole"
- "{{ ansible_env.HOME }}/pihole/dnsmasq.d:/etc/dnsmasq.d"

@ -1,4 +0,0 @@
---
- hosts: servers
roles:
- role: server
Loading…
Cancel
Save