Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistencies in debian jessie to make things work #92

Closed
tlaurion opened this issue Feb 27, 2017 · 0 comments
Closed

Inconsistencies in debian jessie to make things work #92

tlaurion opened this issue Feb 27, 2017 · 0 comments

Comments

@tlaurion
Copy link

tlaurion commented Feb 27, 2017

Tried to create a pull request but don't have push rights. Normal.

git log --color -p --full-diff origin origin/jessie-fixes-required-to-work

commit c4471f6b8cf116d1a7e7039db86fda062d0b632a
Author: Thierry Laurion <thierry.laurion@gmail.com>
Date:   Mon Feb 27 13:01:34 2017 -0500

    For coherence between site.yml.example and host_vars/caislean.domain.com names

diff --git a/site.yml.example b/site.yml.example
index 45cfe3f..c2bbd24 100644
--- a/site.yml.example
+++ b/site.yml.example
@@ -3,7 +3,7 @@
 # The Caislean full stack
 # Note: suricata not enabled by default
 
-- hosts: caislean_full
+- hosts: caislean.domain.com
   become: true
   become_user: root
   become_method: su

commit 08762d8f8a59863d0a74bc37b543ebb886f5a595
Author: Thierry Laurion <thierry.laurion@gmail.com>
Date:   Mon Feb 27 12:59:57 2017 -0500

    letsencrypt seems to be required just the line above nginx. Manual tls operations still needed?

diff --git a/site.yml.example b/site.yml.example
index 230ac01..45cfe3f 100644
--- a/site.yml.example
+++ b/site.yml.example
@@ -12,6 +12,7 @@
     - tls
     - backupninja
     - openvpn
+#    - letsencrypt
     - nginx
     - openldap
     - virtualmail
@@ -22,4 +23,5 @@
     - owncloud
     - wordpress
     - samba
-    - ldap-account-manager
+#    - ldap-account-manager
+#    - suricata

commit f1574d4a60498d277a3a7c240bb8a1894adcf3e1
Author: Thierry Laurion <thierry.laurion@gmail.com>
Date:   Mon Feb 27 12:55:32 2017 -0500

    jessie backports supports mysql-server-5.5, not 5.6

diff --git a/roles/mysql/tasks/main.yml b/roles/mysql/tasks/main.yml
index e34431c..336373e 100644
--- a/roles/mysql/tasks/main.yml
+++ b/roles/mysql/tasks/main.yml
@@ -23,7 +23,7 @@
     - mysql
 
 - name: Set MySQL root password (jessie)
-  debconf: name=mysql-server-5.6 question="{{item}}" vtype=password value="{{mysql_root_password}}"
+  debconf: name=mysql-server-5.5 question="{{item}}" vtype=password value="{{mysql_root_password}}"
   when: ansible_distribution_release == "jessie"
   with_items:
     - mysql-server/root_password
@@ -38,7 +38,7 @@
     - mysql
 
 - name: Reconfigure MySQL (jessie)
-  command: dpkg-reconfigure -f noninteractive mysql-server-5.6
+  command: dpkg-reconfigure -f noninteractive mysql-server-5.5
   when: ansible_distribution_release == "jessie"
   tags:
     - mysql

commit 46a55048461a794f71b0717199e80e12627845fd
Author: Thierry Laurion <thierry.laurion@gmail.com>
Date:   Mon Feb 27 12:50:53 2017 -0500

    letsencrypt requires a name tag for the website statement.

diff --git a/host_vars/caislean.domain.com b/host_vars/caislean.domain.com
index 0779827..8826df0 100644
--- a/host_vars/caislean.domain.com
+++ b/host_vars/caislean.domain.com
@@ -4,7 +4,7 @@ domain_name: domain.com
 admin_email: "user@{{ domain_name }}"
 webmaster_email: "webmaster@{{ domain_name }}"
 websites:
-  - "{{ server_name }}.{{ domain_name }}"
+  - name: "{{ server_name }}.{{ domain_name }}"
 tls_directory: /home/user/caislean_admin/tls
 openvpn_auth_mech: tls
 auth_use_samba: false

commit 5b24e9e80753e9f56407a354d0f3aa158f11496c
Author: Thierry Laurion <thierry.laurion@gmail.com>
Date:   Mon Feb 27 12:39:41 2017 -0500

    dkim documentation misleads user in its directory creation and usage example.

diff --git a/doc/role-doc/virtualmail.md b/doc/role-doc/virtualmail.md
index 6a8f451..36d8395 100644
--- a/doc/role-doc/virtualmail.md
+++ b/doc/role-doc/virtualmail.md
@@ -50,7 +50,7 @@ you will use to manage your DKIM keys. For this example we will use
 Move to that directory and create an RSA keypair (use exactly `dkim.priv` and
 `dkim.pub` as filenames):
 
-    cd /home/user/sec_comms_admin/dkim
+    cd /home/user/caislean_admin/dkim 
     umask 077
     openssl genrsa -out dkim.priv 4096
     openssl rsa -in dkim.priv -out dkim.pub -pubout
diff --git a/host_vars/caislean.domain.com b/host_vars/caislean.domain.com
index d0864e1..0779827 100644
--- a/host_vars/caislean.domain.com
+++ b/host_vars/caislean.domain.com
@@ -28,7 +28,7 @@ backup_remote_ssh_keys:
   - ssh-rsa AAAAB3NzaC1y....
   - ssh-dss AAAAB3NzaC1kc...
   - ecdsa-sha2-nistp256 AAAAE2Vj...
-dkim_directory: /home/user/sec_comms_admin/dkim
+dkim_directory:/home/user/caislean_admin/dkim 
 mysql_root_password: MySQLPass
 owncloud_mysql_password: OwncloudPass
 wordpress_mysql_password: WordpressPass
@tlaurion tlaurion closed this as not planned Won't fix, can't repro, duplicate, stale Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant