Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos ms repo update #183

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
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