Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/single_node_stroom_core_stack/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Vagrant.configure("2") do |config|

servers.each do |machine|
config.vm.define machine[:hostname] do |node|
node.vm.box = "centos/7"
node.vm.box = "centos/8"
node.vm.hostname = machine[:hostname]
node.vm.network "private_network", ip: machine[:ip]

Expand Down
32 changes: 28 additions & 4 deletions stroom/roles/setup/common/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
when: not epel_repofile_result.stat.exists

# Install common command line tools
- name: YUM install various command line tools
- name: YUM install various command line tools (applicable to all distro versions)
become: true
yum:
name: "{{ packages }}"
Expand All @@ -43,15 +43,39 @@
- curl
- git # Needed for migration testing, but useful to have
- htop # Useful process monitoring
- httpie # Used by some stroom scripts
- iproute # needed for the ip command used in our scripts
- jq # Used by some stroom scripts, handy for REST json munging
- net-tools
- python # Not sure we need it but just in case
- python3 # Not sure we need it but just in case
- unzip
- vim # vi is not a mustard cutter

# Install common command line tools
- name: YUM install various command line tools (specific to distro versions)
become: true
yum:
name: "{{ packages }}"
state: present
vars:
packages:
- httpie # Used by some stroom scripts
- python # Not sure we need it but just in case
- python3 # Not sure we need it but just in case
when: ansible_os_family == "RedHat" and ansible_distribution_major_version == '7'

# Install common command line tools
- name: YUM install various command line tools (specific to distro versions)
become: true
yum:
name: "{{ packages }}"
state: present
vars:
packages:
# httpie doesn't seem to be available on centos8
#- httpie # Used by some stroom scripts
- python2 # Not sure we need it but just in case
- python36 # Not sure we need it but just in case
when: ansible_os_family == "RedHat" and ansible_distribution_major_version == '8'

- name: Ensure firewalld is running
become: true
service:
Expand Down