Skip to content
Snippets Groups Projects
Commit 44202497 authored by nimrod's avatar nimrod
Browse files

Dump everything.

Just stuff I started and maybe did something with. I'm archiving this
repo so this is the last commit, just so I don't lose anything.
parent 79435275
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ Getting started
git clone --recursive https://www.shore.co.il/cgit/ansible-playbooks
cd ansible-playbooks
ansible-galaxy install -r requirements.yml
ansible-galaxy install --role-file requirements.yml --roles-path roles/
vagrant up
License
......@@ -43,14 +43,5 @@ at: https://www.shore.co.il/cgit/.
TODO
----
- CI test with ServerSpec/ Molecule.
- Fast (like unit) testing with ansible-lint, maybe other linters (pre-commit).
- Better documentation and handling of role dependencies.
- Add example requirements.yml to roles README file.
- For all roles:
- Add email alias to root.
- Log to syslog.
- Collect metrics using Collectd.
- Use TLS and random, high bit count dhparams.
- Use assertions at the start of the role.
- Wait for the service to be up at the end of the role.
- CI with Molecule.
- Sanity test with pre-commit.
......@@ -20,8 +20,9 @@ Vagrant.configure(2) do |config|
openbsd.vm.network "private_network", ip: "172.28.128.3"
openbsd.landrush.guest_redirect_dns = false
openbsd.landrush.host_ip_address = "172.28.128.3"
openbsd.vm.box = "tmatilai/openbsd-5.7"
#openbsd.vm.box = "twingly/openbsd-5.7-amd64"
#openbsd.vm.box = "tmatilai/openbsd-5.7"
#openbsd.vm.box = "twingly/openbsd-5.8-amd64"
openbsd.vm.box = "kaorimatz/openbsd-5.8-amd64"
end
config.vm.define "kodi" do |kodi|
......
[defaults]
command_warnings = True
deprecation_warnings = True
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/ansible_fact_cache/
fact_caching_timeout = 86400
forks = 5
retry_files_save_path = /tmp/
roles_path = roles/
[ssh_connection]
pipelining = True
control_path=/tmp/ssh-%%h
[privilege_escalation]
become = True
become_method = sudo
become_user = root
become_ask_pass = False
mysql_root_password: root
backports: True
mysql_admin_password: root
wordpress_mysql_server: localhost
wordpress_force_https: True
wordpress_password: wordpress
wordpress_mysql_user: root
wordpress_mysql_user: admin
wordpress_mysql_password: root
tls_cert: files/Ansible.vagrant/certs/wordpress
tls_key: files/Ansible.vagrant/keys/wordpress
---
- hosts: ns3
roles: [ nspawn ]
---
- src: https://www.shore.co.il/cgit/ansible-apache
- src: https://www.shore.co.il/git/ansible-role-apache
scm: git
path: roles/
name: apache
- src: https://www.shore.co.il/cgit/ansible-rutorrent
- src: https://www.shore.co.il/git/ansible-role-rutorrent
scm: git
path: roles/
name: rutorrent
- src: https://www.shore.co.il/cgit/ansible-kodi
- src: https://www.shore.co.il/git/ansible-role-kodi
scm: git
path: roles/
name: kodi
- src: https://www.shore.co.il/cgit/ansible-nspawn
- src: https://www.shore.co.il/git/ansible-role-nspawn
scm: git
path: roles/
name: nspawn
- src: https://www.shore.co.il/cgit/ansible-openbsd
- src: https://www.shore.co.il/git/ansible-role-openbsd
scm: git
path: roles/
name: openbsd
- src: https://www.shore.co.il/cgit/ansible-wordpress
- src: https://www.shore.co.il/git/ansible-role-wordpress
scm: git
path: roles/
name: wordpress
- src: https://www.shore.co.il/cgit/ansible-openldap
- src: https://www.shore.co.il/git/ansible-role-openldap
scm: git
path: roles/
name: openldap
- src: https://www.shore.co.il/cgit/ansible-common
- src: https://www.shore.co.il/git/ansible-role-common
scm: git
path: roles/
name: common
- src: https://www.shore.co.il/cgit/ansible-consul
- src: https://www.shore.co.il/git/ansible-role-consul
scm: git
path: roles/
name: consul
- src: https://www.shore.co.il/cgit/ansible-dovecot
- src: https://www.shore.co.il/git/ansible-role-dovecot
scm: git
path: roles/
name: dovecot
- src: https://www.shore.co.il/cgit/ansible-ejabberd
- src: https://www.shore.co.il/git/ansible-role-ejabberd
scm: git
path: roles/
name: ejabberd
- src: https://www.shore.co.il/cgit/ansible-elasticsearch
- src: https://www.shore.co.il/git/ansible-role-elasticsearch
scm: git
path: roles/
name: elasticsearch
- src: https://www.shore.co.il/cgit/ansible-exim
- src: https://www.shore.co.il/git/ansible-role-exim
scm: git
path: roles/
name: exim
- src: https://www.shore.co.il/cgit/ansible-freeradius
- src: https://www.shore.co.il/git/ansible-role-freeradius
scm: git
path: roles/
name: freeradius
- src: https://www.shore.co.il/cgit/ansible-grafana
- src: https://www.shore.co.il/git/ansible-role-grafana
scm: git
path: roles/
name: grafana
- src: https://www.shore.co.il/cgit/ansible-horde
- src: https://www.shore.co.il/git/ansible-role-horde
scm: git
path: roles/
name: horde
- src: https://www.shore.co.il/cgit/ansible-influxdb
- src: https://www.shore.co.il/git/ansible-role-influxdb
scm: git
path: roles/
name: influxdb
- src: https://www.shore.co.il/cgit/ansible-kibana
- src: https://www.shore.co.il/git/ansible-role-kibana
scm: git
path: roles/
name: kibana
- src: https://www.shore.co.il/cgit/ansible-logstash
- src: https://www.shore.co.il/git/ansible-role-logstash
scm: git
path: roles/
name: logstash
- src: https://www.shore.co.il/cgit/ansible-mysql
- src: https://www.shore.co.il/git/ansible-role-mysql
scm: git
path: roles/
name: mysql
- src: https://www.shore.co.il/cgit/ansible-openwrt
- src: https://www.shore.co.il/git/ansible-role-openwrt
scm: git
path: roles/
name: openwrt
- src: https://www.shore.co.il/cgit/ansible-owncloud
- src: https://www.shore.co.il/git/ansible-role-owncloud
scm: git
path: roles/
name: owncloud
- src: https://www.shore.co.il/cgit/ansible-riemann
- src: https://www.shore.co.il/git/ansible-role-riemann
scm: git
path: roles/
name: riemann
- src: https://www.shore.co.il/cgit/ansible-redis
- src: https://www.shore.co.il/git/ansible-role-redis
scm: git
path: roles/
name: redis
- src: https://www.shore.co.il/cgit/ansible-gitolite
- src: https://www.shore.co.il/git/ansible-role-gitolite
scm: git
path: roles/
name: gitolite
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment