Let’s Encrypt on CentOS 6/7 with Nginx/Apache

yum -y install yum-utils yum install certbot -y certbot certonly -d the-d2.com -d www.the-d2.com –dry-run –webroot –renew-by-default -w /home/the-d2/public_html –authenticator webroot Now in the output you will see the geenrated certs path, use them in your virtualhost and reload the webserver nignx / apache Setup renewel Cron:- certbot certonly -d the-d2.com -d www.the-d2.com –webroot –renew-by-default -w /home/the-d2/public_html –authenticator webroot

Install MySQL 5.7 On CentOS via Ansible Playbook

– name: Install MySQL hosts: test123 become: true become_user: root gather_facts: true tasks: – name: “Installing Repo & Packages” yum: name=http://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm – name: Install MySQL 5.7 yum: pkg={{ item }} with_items: – mysql-community-server – mysql-community-client