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
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