From 89b87407818c78852b2c99b4300053e34e255fa5 Mon Sep 17 00:00:00 2001 From: LUXEY Adrien Date: Tue, 23 Mar 2021 17:12:13 +0100 Subject: Ansible config cleanup --- os/config/roles/common/tasks/main.yml | 4 ++-- os/config/roles/consul/tasks/main.yml | 12 ------------ os/config/roles/consul/vars/.gitignore | 1 - os/config/roles/consul/vars/main.yml.sample | 2 -- os/config/roles/nomad/tasks/main.yml | 12 ------------ 5 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 os/config/roles/consul/vars/.gitignore delete mode 100644 os/config/roles/consul/vars/main.yml.sample diff --git a/os/config/roles/common/tasks/main.yml b/os/config/roles/common/tasks/main.yml index 37cad52..b332414 100644 --- a/os/config/roles/common/tasks/main.yml +++ b/os/config/roles/common/tasks/main.yml @@ -34,7 +34,7 @@ - strace - tcpdump # Networking - - dnsutils # now called bind9-dnsutils + - dnsutils # now called bind9-dnsutils (still valid) - ethtool - iproute2 # advanced net-tools - iptables # legacy firewall (still used by diplonat) @@ -76,7 +76,7 @@ include_tasks: hashicorp.yml when: nomad_exists.rc != 0 - +# Cool stuff - name: "Passwordless sudo" lineinfile: diff --git a/os/config/roles/consul/tasks/main.yml b/os/config/roles/consul/tasks/main.yml index da6f6f1..bdbf295 100644 --- a/os/config/roles/consul/tasks/main.yml +++ b/os/config/roles/consul/tasks/main.yml @@ -1,15 +1,3 @@ -# - name: "Set consul version" -# set_fact: -# consul_version: 1.9.1 - -# - name: "Download and install Consul for x86_64" -# unarchive: -# src: "https://releases.hashicorp.com/consul/{{ consul_version }}/consul_{{ consul_version }}_linux_amd64.zip" -# dest: /usr/local/bin -# remote_src: yes -# when: -# - "ansible_architecture == 'x86_64'" - - name: "Create consul configuration directory" file: path=/etc/consul/ state=directory diff --git a/os/config/roles/consul/vars/.gitignore b/os/config/roles/consul/vars/.gitignore deleted file mode 100644 index ff5c0bd..0000000 --- a/os/config/roles/consul/vars/.gitignore +++ /dev/null @@ -1 +0,0 @@ -main.yml diff --git a/os/config/roles/consul/vars/main.yml.sample b/os/config/roles/consul/vars/main.yml.sample deleted file mode 100644 index 9c44126..0000000 --- a/os/config/roles/consul/vars/main.yml.sample +++ /dev/null @@ -1,2 +0,0 @@ ---- -consul_gossip_encrypt: "" diff --git a/os/config/roles/nomad/tasks/main.yml b/os/config/roles/nomad/tasks/main.yml index 080a75f..c4f2876 100644 --- a/os/config/roles/nomad/tasks/main.yml +++ b/os/config/roles/nomad/tasks/main.yml @@ -1,15 +1,3 @@ -# - name: "Set nomad version" -# set_fact: -# nomad_version: 1.0.2 - -# - name: "Download and install Nomad for x86_64" -# unarchive: -# src: "https://releases.hashicorp.com/nomad/{{ nomad_version }}/nomad_{{ nomad_version }}_linux_amd64.zip" -# dest: /usr/local/bin -# remote_src: yes -# when: -# - "ansible_architecture == 'x86_64'" - - name: "Create Nomad configuration directory" file: path=/etc/nomad/ state=directory -- cgit v1.2.3