Commit graph

26 commits

Author SHA1 Message Date
Wojtek Bednarzak
17d3ba438e
Merge 0c739d4e24 into 44ac151512 2025-02-28 14:45:10 +00: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
5a560250f1
Add Johnson host to ansible hosts.sample (#13) 2023-12-05 04:47:29 +00: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
0c739d4e24
ansible: Deploy nomad jobs using ansible
This is an untested change because I don't have the same environment as
Redbrick, but I think it would be beneficial to deploy the jobs using
Ansible. This means that it can be automated in the future.

One drawback of this approach is that we don't plan ahead of time, but
that should be done as part of a pull request anyways.
2023-03-22 23:35:45 +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
83a15d1c51 fixes hashicorp key add 2022-12-09 00:26:23 +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
4db8b8e050 adds role to configure and start nomad 2022-12-08 01:02:59 +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