2014-10-10 12:35:14 +02:00
|
|
|
---
|
|
|
|
# tasklist for setting up copr
|
|
|
|
# This is the base set of files needed for copr
|
|
|
|
|
|
|
|
|
2015-03-18 09:38:23 +01:00
|
|
|
# again to late to do it here
|
|
|
|
# - include: "{{ tasks }}/cloud_setup_basic.yml"
|
|
|
|
# already included into the `base` role
|
|
|
|
#- include: "{{ tasks }}/postfix_basic.yml"
|
|
|
|
|
|
|
|
# To late to do it here (
|
|
|
|
#- name: setup correct hostname for copr machine
|
|
|
|
# hostname: name="{{ copr_hostbase }}.cloud.fedoraproject.org"
|
|
|
|
# # hostname: name="{{ hostbase|regex_replace('.*-$', '')}}.cloud.fedoraproject.org"
|
|
|
|
# tags:
|
|
|
|
# - config
|
2014-10-10 12:35:14 +02:00
|
|
|
|
|
|
|
- name: copy .forward file
|
|
|
|
copy: src="{{ _forward_src }}" dest="/root/.forward" owner=root group=root
|
|
|
|
|
|
|
|
- name: deploy /etc/hosts file
|
2015-04-01 13:47:11 +00:00
|
|
|
copy: src="hosts" dest=/etc/ owner=root group=root mode=644
|
2014-10-10 12:35:14 +02:00
|
|
|
|
2015-03-18 09:38:23 +01:00
|
|
|
- name: install copr repo
|
|
|
|
copy: src="yum/copr.repo" dest="/etc/yum.repos.d/copr.repo"
|
|
|
|
|
2014-10-10 12:35:14 +02:00
|
|
|
- name: install common copr packages
|
|
|
|
yum: state=present pkg={{ item }}
|
|
|
|
with_items:
|
2015-05-19 11:12:28 +02:00
|
|
|
#- "copr-selinux"
|
2014-10-10 12:35:14 +02:00
|
|
|
- "system-config-firewall-base"
|
2014-10-17 18:49:47 +02:00
|
|
|
- "nrpe"
|
2014-10-10 12:35:14 +02:00
|
|
|
tags:
|
|
|
|
- packages
|
|
|
|
|
|
|
|
- name: install dev helper packages
|
|
|
|
yum: state=present pkg={{ item }}
|
|
|
|
with_items:
|
|
|
|
- "bash-completion"
|
|
|
|
- "screen"
|
|
|
|
- "tmux"
|
|
|
|
tags:
|
|
|
|
- packages
|
|
|
|
|
2015-04-08 15:14:12 +02:00
|
|
|
- name: make sure our resolv.conf is the one being used - set PEERDNS=no in /etc/sysconfig/network
|
|
|
|
lineinfile: dest=/etc/sysconfig/network create=yes backup=yes state=present line='PEERDNS=no' regexp=^PEERDNS=
|
|
|
|
tags:
|
|
|
|
- config
|