You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.8 KiB

10 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. configz
  2. =======
  3. Yet another ansible's playbook repository
  4. roles
  5. ======
  6. * Common
  7. * provides **common** configuration
  8. * https://github.com/nojhan/liquidprompt <3
  9. * Update
  10. * allow install all update on hosts (tag normal)
  11. * allow update specific packages from list (tags packages)
  12. * use host_vars, group_vars or default vars to update packages list
  13. * Wallabag
  14. * provides **Wallabag** configuration
  15. * Imported with <3 from https://github.com/al3x/sovereign/
  16. * **Not yet READY**
  17. * Prosody
  18. * Provides XMPP (Jabber) server
  19. * Imported with <3 from https://github.com/al3x/sovereign/
  20. * **Not yet READY**
  21. * IRCBouncer
  22. * Provides a ZNC Config
  23. * Imported with <3 from https://github.com/al3x/sovereign/
  24. * Mail
  25. * provides a complete **mail** server for a given domain name and the vdomain capability for other domains.
  26. * **Note** : This role starts in order : common, mariadb, and mail. If you don't want one of them, please comment out.
  27. * **Note2** : If you already have a SQL server, **it wont erase the original config**, but it needs a ``~/.my.cnf``.
  28. * **TODO** :
  29. * Razor/Pyzor
  30. * Roundcube
  31. * Simplify template copy
  32. * Postgrey
  33. * MariaDB
  34. * provides a lambda **MariaDB** server peered on ``127.0.0.1:3306`` with ``root`` MySQL password on ``~/.my.cnf``
  35. * ownCloud
  36. * provides a simple instance of **ownCloud**, with ``NGINX, PHP5-FPM, and MariaDB``
  37. example host file
  38. =====
  39. ```yaml
  40. ---
  41. admin_ssh_keys: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZXK3ufonx+zNQ1x6cSWuUWckB/xf9sKZ+mRgY5SPXzqrxSkqNSmr9JQ6xzvhxKEVcFWsi50op1WWtRo3HG3p3+EHKXeCyzt5QnczDlVOoQbB8kgI0byKcvXux1inL4/Q4DbVLUbDFnynD/C5aAyYMYePahMxR+AQr60DD+7Ty6pcEVih1wwHIlxWziY1EF6sEzQwz/PiTxWIZkKHl/WPGagS9Pp/5nQfdZy0AS/JqbzNyMEg51+XedADuqseV4GXDzrzDYLJXJFv1PFVJxRWLrjChKrUMqyszUySkZMr5YSPXlsV0bi+0xivYEsXvIkLORV96JTZosYbV+0aFKDPv root@debian
  42. default_packages_debian: htop
  43. description: machine test
  44. # NTP
  45. ntp_servers:
  46. - 0.pool.ntp.org
  47. - 1.pool.ntp.org
  48. - 2.pool.ntp.org
  49. disable_ipv6: true
  50. # Update
  51. deb_packages_to_update:
  52. - apache2
  53. centos_packages_to_update:
  54. - httpd
  55. # Mail
  56. domain: test.net
  57. # MariaDB
  58. mariadb_version: 10.0
  59. mysql_root_password: changeme
  60. mysql_host: localhost
  61. # ircbouncer
  62. znc_version: 1.4
  63. irc_nick: (required)
  64. irc_ident: (required)
  65. irc_realname: (required)
  66. irc_quitmsg: (required)
  67. irc_password_hash: (required) # http://wiki.znc.in/Configuration#Pass
  68. irc_password_salt: (required) # http://wiki.znc.in/Configuration#Pass
  69. irc_timezone: "Europe/Paris" #Example: "Europe/Paris"
  70. # xmpp
  71. prosody_admin: "admin@test.net"
  72. prosody_virtual_domain: "test.net"
  73. prosody_accounts: admin@test.net
  74. #Wallabag
  75. wallabag_version: 1.8.1
  76. wallabag_domain: "read.{{ domain }}"
  77. wallabag_salt: (required)
  78. wallabag_db_username: wallabag
  79. wallabag_db_password: (required)
  80. wallabag_db_database: wallabag
  81. # vim: set textwidth=0 ft=yaml:
  82. ```