From faf6cfcec91b9da7fd6653efe39a305ebfb976ec Mon Sep 17 00:00:00 2001 From: josiah Date: Tue, 19 May 2020 23:18:53 -0500 Subject: [PATCH] Final tweaks for working deploy. --- ansible/all.yml | 1 + ansible/host_vars/larva.home.jowj.net/main.yml | 1 - ansible/roles/syslog/tasks/main.yml | 3 +-- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ansible/all.yml b/ansible/all.yml index 9e7e7e3..3fec9d2 100644 --- a/ansible/all.yml +++ b/ansible/all.yml @@ -18,6 +18,7 @@ - name: Configure home-net base packages hosts: home + gather_facts: no roles: - { name: home-net, tags: ['base'] } diff --git a/ansible/host_vars/larva.home.jowj.net/main.yml b/ansible/host_vars/larva.home.jowj.net/main.yml index 03be501..385b43f 100644 --- a/ansible/host_vars/larva.home.jowj.net/main.yml +++ b/ansible/host_vars/larva.home.jowj.net/main.yml @@ -1,3 +1,2 @@ ansible_python_interpreter: /usr/bin/python3 interactive: yes -ansible_user: ubuntu diff --git a/ansible/roles/syslog/tasks/main.yml b/ansible/roles/syslog/tasks/main.yml index ac8049a..91e5656 100644 --- a/ansible/roles/syslog/tasks/main.yml +++ b/ansible/roles/syslog/tasks/main.yml @@ -4,7 +4,7 @@ name: - logrotate - syslog-ng - - nsf-common # required for mounting the idiot nfs thing over idiot nfs, the worst fs. + - nfs-common # required for mounting the idiot nfs thing over idiot nfs, the worst fs. state: latest @@ -16,7 +16,6 @@ - name: Configure syslog TCP ports (Ubuntu) ufw: port={{ item }} proto=tcp rule=allow with_items: "{{ sysloghost_all_ports }}" - when: ansible_distribution == "Ubuntu" - name: Apply syslog-ng configuration template: