Ansible config cleanup

This commit is contained in:
LUXEY Adrien 2021-03-23 17:12:13 +01:00
parent 6f09e7de1c
commit 89b8740781
5 changed files with 2 additions and 29 deletions

View file

@ -34,7 +34,7 @@
- strace - strace
- tcpdump - tcpdump
# Networking # Networking
- dnsutils # now called bind9-dnsutils - dnsutils # now called bind9-dnsutils (still valid)
- ethtool - ethtool
- iproute2 # advanced net-tools - iproute2 # advanced net-tools
- iptables # legacy firewall (still used by diplonat) - iptables # legacy firewall (still used by diplonat)
@ -76,7 +76,7 @@
include_tasks: hashicorp.yml include_tasks: hashicorp.yml
when: nomad_exists.rc != 0 when: nomad_exists.rc != 0
# Cool stuff
- name: "Passwordless sudo" - name: "Passwordless sudo"
lineinfile: lineinfile:

View file

@ -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" - name: "Create consul configuration directory"
file: path=/etc/consul/ state=directory file: path=/etc/consul/ state=directory

View file

@ -1 +0,0 @@
main.yml

View file

@ -1,2 +0,0 @@
---
consul_gossip_encrypt: "<secret>"

View file

@ -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" - name: "Create Nomad configuration directory"
file: path=/etc/nomad/ state=directory file: path=/etc/nomad/ state=directory