drop nfs stuff from releng, add nfs/client to compose machines.
This commit is contained in:
parent
75be449044
commit
8346166c90
3 changed files with 4 additions and 18 deletions
|
@ -34,3 +34,5 @@ fedmsg_certs:
|
||||||
- service: bodhi
|
- service: bodhi
|
||||||
owner: root
|
owner: root
|
||||||
group: masher
|
group: masher
|
||||||
|
|
||||||
|
nfs_mount_opts: "rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3"
|
||||||
|
|
|
@ -41,6 +41,8 @@
|
||||||
- builder_repo
|
- builder_repo
|
||||||
- releng
|
- releng
|
||||||
- fedmsg/base
|
- fedmsg/base
|
||||||
|
- { role: nfs/client, mnt_dir: '/pub/fedora', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub/fedora' }
|
||||||
|
- { role: nfs/client, mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/motd.yml"
|
- include: "{{ tasks }}/motd.yml"
|
||||||
|
|
|
@ -99,24 +99,6 @@
|
||||||
tags:
|
tags:
|
||||||
- configs
|
- configs
|
||||||
|
|
||||||
- name: enable nfs-related services and run them (fedora)
|
|
||||||
action: service name={{ item }} enabled=true state=started
|
|
||||||
with_items:
|
|
||||||
- nfs-idmapd
|
|
||||||
- nfs-lock
|
|
||||||
when: ansible_distribution == 'Fedora'
|
|
||||||
|
|
||||||
- name: route to netapp network
|
|
||||||
action: copy src="{{ files }}/../roles/koji_builder/files/route-eth1" dest=/etc/sysconfig/network-scripts/route-eth1
|
|
||||||
notify:
|
|
||||||
- restart netapproute
|
|
||||||
|
|
||||||
- name: nfsmount - /pub/fedora
|
|
||||||
action: mount name=/pub/fedora src=vtap-fedora-nfs01.storage.phx2.redhat.com:/vol/fedora_ftp/fedora.redhat.com/pub/fedora fstype=nfs opts=rw,hard,bg,intr,noatime,nodev,nosuid,nfsvers=3 passno=0 dump=0 state=mounted
|
|
||||||
|
|
||||||
- name: nfs mount points
|
|
||||||
action: mount name=/mnt/fedora_koji src=vtap-fedora-nfs01.storage.phx2.redhat.com:/vol/fedora_koji fstype=nfs opts=rw,hard,bg,intr,noatime,nodev,nosuid passno=0 dump=0 state=mounted
|
|
||||||
|
|
||||||
- name: make a mnt/koji link
|
- name: make a mnt/koji link
|
||||||
action: file state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
action: file state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue