i've found this useful for debugging ansible modules and syntax without having to use VMs or test in dev environments.
pip install ansible
--- | |
- hosts: localhost | |
vars: | |
- dnsname: your.dns.name | |
- tmppath: "./tmp/" | |
- crtpath: "{{ tmppath }}{{ dnsname }}.crt" | |
- pempath: "{{ tmppath }}{{ dnsname }}.pem" | |
- csrpath: "{{ tmppath }}{{ dnsname }}.csr" | |
- pfxpath: "{{ tmppath }}{{ dnsname }}.pfx" | |
- private_key_password: "password" |
process.env.NODE_ENV = 'development'; | |
// use .env file instead of settings environment directly | |
require('dotenv').config({silent: true}); | |
const chalk = require('chalk'); | |
const webpack = require('webpack'); | |
const checkRequiredFiles = require('react-dev-utils/checkRequiredFiles'); | |
const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages'); | |
const bsync = require('browser-sync').create(); |