GithubHelp home page GithubHelp logo

ansible-server's Introduction

ansible-server

How to Use

There is a Makefile to allow short commands for each playbook.

$ make setup

Used for setting the initial user, SSH keys and some personal scripts.

$ make deploy

Used to configure all the different services of the server

A couple of environment variables can be provided to change the settings of the task, like:

  • TAGS: defines which services should be installed
  • PLAYBOOK: defines which playbook to run
  • LETSENCRYPT_FORCE_CERTIFICATES: defines if the Let's Encrypt certificates should be generated again
  • ANSIBLE_OPTS: specify any other extra options
  • ROOT: only for make setup, changes the port to be connected to (connects to port 22)

Email

Go to whatever is your DNS and create the following records:

Type: MX - Mail Exchange
TTL: 1d
Value: 10 mail.{{ server }}
Type: Text
TTL: 1d
Name: mail._domainkey
Value: cat {{ email_opendkim_config_directory }}/mail.txt # copy what's within quotes (including quotes)
Type: SPF
TTL: 1d
Value: v=spf1 mx a ?all

Also contact your host provider about setting a PTR record.

ansible-server's People

Contributors

cedricpim avatar

Stargazers

Nuno Carvalho avatar

Watchers

James Cloos avatar  avatar  avatar

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.