Commit graph

43 commits

Author SHA1 Message Date
wizzdom
d251d0e154
ansible/nomad: enable bridge hairpin mode (#68) 2024-10-17 18:16:35 +01:00
wizzdom
c00b1e9243
ansible: mount oldstorage (#34)
Co-authored-by: James Hackett <jamesthackett1@gmail.com>
2024-03-28 20:01:04 +00:00
wizzdom
0159e15643
ansible: add consul dns via systemd-resolved (#16)
* ansible: add consul dns via systemd-resolved

* consolidate apt remove jobs
2024-01-23 04:48:00 +00:00
James Hackett
ad27b805af
Update README.md 2023-12-05 04:50:20 +00:00
James Hackett
5a560250f1
Add Johnson host to ansible hosts.sample (#13) 2023-12-05 04:47:29 +00:00
wizzdom
66670721a9
Update sshd_config.j2 2023-12-05 03:12:47 +00:00
DistroByte
8945418b2a
Merge branch 'master' of github.com:redbrick/nomad 2023-09-01 01:14:47 +01:00
DistroByte
dded8a94f6
Update nomad base template to include metrics 2023-09-01 01:13:46 +01:00
James Hackett
4ccb3e461e
Merge pull request #4 from VoyTechnology/ansible-nomad-telemetry
ansible/templates: Enable Nomad Telemetry
2023-08-08 03:21:46 +01:00
distrobyte
917571a140 More fixes
- Rename a task in the consul role to better reflect the actions being
  taken
- Add passwordless sudo as a configurable option to the ssh role,
  include base configuration for that
2023-08-04 14:10:04 +01:00
distrobyte
944be27ce0 Multiple fixes
- Update apt default packages to include dnsutils
- Update the consul task to set up dns resolution through consul and
  systemd-resolved
- Update the consul server config file to auto join hostnames instead of
  IP addresses, this makes the configuration for the playbook much
  easier
- Add a docker task to install docker (works on arm devices also)
- Updates the hashicorp apt role to allow arm devices to pull from the
  correct upstream repo
2023-08-04 13:43:59 +01:00
DistroByte
67c41a862e
add elastic 2023-05-23 21:51:15 +01:00
DistroByte
a8c0dc7880
update ansible roles 2023-05-23 21:50:25 +01:00
Wojtek Bednarzak
ec497ff457
ansible/templates: Enable Nomad Telemetry
Enable Telemetry with prometheus metrics so that Nomad metrics can be
scraped and alerts can be created if there's an issue.
2023-03-22 23:42:11 +00:00
James Hackett
8019d50f06
update ansible roles 2023-03-18 14:04:55 +00:00
James Hackett
33fb23933f update permissions 2023-03-18 13:13:16 +00:00
James Hackett
149c806271 fix permissions 2023-03-15 00:19:55 +00:00
distrobyte
c75bde2257 add become to required tasks 2023-02-11 01:56:48 +00:00
James Hackett
6b28f589d8 set become: true on apt role 2023-01-10 13:26:56 +00:00
James Hackett
a0651f3f5d adds ansible check mode and vpn reminder 2022-12-23 14:54:40 +00:00
James Hackett
2cb77974ea advises users to create vpn configs for users added via role 2022-12-19 20:45:56 +00:00
James Hackett
b6c49df58c adds check for ansible check_mode 2022-12-19 20:45:26 +00:00
James Hackett
77570effb5 adds role to check local and remote heads 2022-12-19 20:45:08 +00:00
James Hackett
47f000e641 adds a check to ensure that local and remote have same head 2022-12-19 20:40:25 +00:00
James Hackett
b050850f31 creates an adhoc script 2022-12-19 20:38:52 +00:00
James Hackett
83a15d1c51 fixes hashicorp key add 2022-12-09 00:26:23 +00:00
James Hackett
62327b88c0 adds some useful scripts 2022-12-08 23:00:18 +00:00
James Hackett
850b831f93 fixes consul bind address 2022-12-08 02:03:16 +00:00
James Hackett
d010988e56 updates vars and default playbook 2022-12-08 01:58:38 +00:00
James Hackett
f69a8b87d1 adds hashicorp apt key role 2022-12-08 01:57:52 +00:00
James Hackett
c5281bd0fb adds consul configuration role 2022-12-08 01:57:33 +00:00
James Hackett
2185a79d8f adds consul configuration files 2022-12-08 01:57:10 +00:00
James Hackett
4db8b8e050 adds role to configure and start nomad 2022-12-08 01:02:59 +00:00
James Hackett
b37ad31110 adds check command to auto dry-run and diff the playbook 2022-12-08 01:02:00 +00:00
James Hackett
6a6f99b11f adds new role for just nomad members 2022-12-08 01:01:27 +00:00
James Hackett
86ada2f4df updates vars associated with hosts 2022-12-08 01:01:00 +00:00
James Hackett
19b92cf268 ensures templates use correct vars 2022-12-08 00:58:00 +00:00
James Hackett
196a27fde5 adds run script, readme and fixes stdout 2022-12-07 23:36:58 +00:00
James Hackett
6ee13c1a6a moves nomad files into correct dir. fixes fail2ban config 2022-11-30 23:51:31 +00:00
James Hackett
35ece6c9ce adds base playbook and updates README 2022-11-30 22:50:08 +00:00
James Hackett
9b15a71be5 adds ssh and apt role 2022-11-30 22:02:19 +00:00
James Hackett
57694f8f7e updates structure of ansible dir 2022-11-30 21:20:38 +00:00
James Hackett
3691cec1a2 adds readme and base nomad/consul config 2022-11-30 20:51:41 +00:00