site.yaml  /main.yaml  service.j2  ddyfile.j2  /main.yaml  vars.yaml     X  7                                                                        
  5       location / {  6 By far the best thing to come out of all this is learning of the [Ansib
  4         proxy_pass http://127.0.0.1:8080/;                             │    allZ architecture](https://docs.ansible.com/ansible/latest/dev_guide/de
  3       }    veloping_program_flow_modules.html#ansiballz-framework). Pointed to in 
  2       \g<b>                                                            │    the stacktrace for a regexp not working.                               
  1     path: /etc/nginx/conf.d/local.conf                                 │  5                                                                        
207     regexp: "(?P<a>deny all;\n\\s+})(?P<b>\n}\n## autoconfig.matthew.wi  4 Going to try [setting `interpreter_python` in `ansible.cfg`](https://do
    llcockson.family)"    cs.ansible.com/ansible/latest/reference_appendices/interpreter_discover
  1     # NOTE: Really want validation as opposed to accidentally clobberin    y.html) before reading too much into the stack trace.                  
    g NGiNX  3                                                                        
  2     #validate: /usr/sbin/nginx -t  2 Nope, didn't do the trick. Instead, replaced my use of `before` and `af
  3   notify: restart nginx                                                │    ter` in the `replace` module with manual `(?P<after>...)(?P<before>...)
  4     ` and `\g<after>...\g<before>`.                                        
  5 - name: Enable Caddy service                                           │  1                                                                        
  6   service:56  This entry won't see the light of day just yet, but `caddy` is running,
  7     name: caddy                                                        │     and serving up 404 pages! :D                                          
  8     enabled: yes                                                       │~
roles/caddy/tasks/main.yaml                              207,16         99%public/entries/deployment.md                             56,100         Bot
───────────────────────────────────────────────────────────────────────────┴───────────────────────────────────────────────────────────────────────────

TASK [caddy : Verify systemd is okay with that unit file] *********************************************************************************************
ok: [matthew.willcockson.family]

TASK [caddy : Modify NGiNX configuration] *************************************************************************************************************
ok: [matthew.willcockson.family]

TASK [caddy : Enable Caddy service] *******************************************************************************************************************
ok: [matthew.willcockson.family]

TASK [content : Place backup files] *******************************************************************************************************************
ok: [matthew.willcockson.family] => (item=index.html)

TASK [content : Place example file] *******************************************************************************************************************
ok: [matthew.willcockson.family]

PLAY RECAP ********************************************************************************************************************************************
matthew.willcockson.family : ok=23   changed=2    unreachable=0    failed=0    skipped=4    rescued=0    ignored=0                                    

mw@bigl ~/projects/blog-deploy (master*) $
[0] 0:zsh*                                                                                                                       "bigl" 08:09 05-Jan-20