diff --git a/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml b/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml index f10106161f..9d76f81f3b 100644 --- a/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml +++ b/Ansible/roles/marvin/tasks/install_marvin_prereqs.yml @@ -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: @@ -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: diff --git a/Ansible/roles/timezone/tasks/centos7.yml b/Ansible/roles/timezone/tasks/centos7.yml index 0a7718155c..e4bf6c6022 100644 --- a/Ansible/roles/timezone/tasks/centos7.yml +++ b/Ansible/roles/timezone/tasks/centos7.yml @@ -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