Coder Social home page Coder Social logo

ansible-postal's People

Contributors

jaydrogers avatar jimver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-postal's Issues

Custom SSH port

Hi @jaydrogers,

Thanks so much for making this available.

If you change the SSH port in group_vars/all then running the playbook fails at:
TASK [common : Enable UFW firewall]

with the following:
fatal: [send1.example.com]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host send1.example.com port 22: Operation timed out", "unreachable": true}

I have never been able to figure out how to switch the SSH port successfully within a single playbook, so my own server setup is split into two playbooks. One is all the stuff that needs to happen before the port switch and the other is all the stuff that happens afterward. In that second playbook, I have:

vars:
      - ansible_port : "{{ ssh_port }}"

Obtain LE Certs Tasks Failing (Timeout errors)

The playbook is failing for me on the Obtain Let's Encrypt Certificate task. It mentions a timeout and it is likely a firewall issue to reference /opt/postal/.acme.sh/acme.sh.log for more info. See below link with my output of that log. I thought maybe it had to do with Port 80 not being open on Vultr but I added a Port 80 allow rule to my firewall on Vultr for the VM and still no dice. So for some reason, LE can't seem to verify for the cert because it can't access the verification file on the VM via port 80. This is my guess, but open to any input and how this can be fixed.

https://pastebin.com/wLxQm0Ut

upgrading postal

Hi @jaydrogers

Have you upgraded postal for a server deployed via this playbook? Do you use the standard postal-autoupgrade?

mysql config

Hi again @jaydrogers,

i was just doing some performance tuning on my postal server in preparation for doing a relatively large-ish mass newsletter mailing (~32K mails). It worked surprisingly well.

In the course of tweaking the settings for the server, i discovered that the mysql config that ansible-postal places at /etc/mysql/mariadb.conf.d/postal.cnf seems to be non-functional.

by default It's trying to configure the innodb_buffer_pool_size to be 256M, but on my running system, that value was 128M (determined by querying that variable in mysql). I also tried putting some other values into /etc/mysql/mariadb.conf.d/postal.cnf and they were ignored on restart of mariadb.

in order to make the changes i was trying to make, i had to edit /etc/mysql/my.cnf.

the server was a fresh install of 18.04 with no modifications made to mariadb / mysql other than running the ansible-postal playbook.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.