Skip to content
Open
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
14 changes: 7 additions & 7 deletions Ansible/roles/marvin/tasks/install_marvin_prereqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@
- marvin_cfg
- marvin_install

- name: Install Dev Tools Group
yum: name="@Development tools" state=installed update_cache=yes
tags:
- marvin
- marvin_cfg
- marvin_install

- name: set yum repo to local
template: src="{{ inventory_dir }}/templates/{{ item }}.j2" dest="/etc/yum.repos.d/{{item}}"
with_items:
Expand All @@ -44,6 +37,13 @@
- marvin
- marvin_install

- name: Install Dev Tools Group
yum: name="@Development tools" state=installed update_cache=yes
tags:
- marvin
- marvin_cfg
- marvin_install

- name: Install other dependancies
yum: name={{ item }} state=installed update_cache=yes
with_items:
Expand Down
12 changes: 12 additions & 0 deletions Ansible/roles/timezone/tasks/centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
- name: "set Timezone to {{ env_timezone }}"
command: "timedatectl set-timezone {{ env_timezone }}"

- name: set yum repo to local
template: src="{{ inventory_dir }}/templates/{{ item }}.j2" dest="/etc/yum.repos.d/{{item}}"
with_items:
- "CentOS-Base.repo"
- "epel.repo"


- name: Ensure prerequisite libselinux-python installed
yum:
name: libselinux-python
state: installed

- name: Install chrony
yum:
name: chrony
Expand Down