mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
Reorg the nfs role to have client and server as subroles.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
roles:
|
||||
- base
|
||||
- { role: nfs_client, when: inventory_hostname.startswith('build') , mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||
- { role: nfs/client, when: inventory_hostname.startswith('build') , mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||
- koji_builder
|
||||
- { role: bkernel, when: inventory_hostname.startswith('bkernel') }
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
roles:
|
||||
- base
|
||||
- { role: nfs_client, when: not inventory_hostname.startswith('arm'), mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||
- { role: nfs/client, when: not inventory_hostname.startswith('arm'), mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
|
||||
- koji_builder
|
||||
|
||||
tasks:
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
- download
|
||||
- mod_limitipconn
|
||||
- rsyncd
|
||||
- { role: nfs_client, when: datacenter == "phx2", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
- { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
- { role: nfs_client, when: datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
|
||||
tasks:
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
- fas_client
|
||||
- collectd/base
|
||||
- fedmsg/base
|
||||
- { role: nfs_client, when: env == "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app_staging/app/attachments' }
|
||||
- { role: nfs_client, when: env != "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app/app/attachments' }
|
||||
- { role: nfs/client, when: env == "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app_staging/app/attachments' }
|
||||
- { role: nfs/client, when: env != "staging", mnt_dir: '/mnt/web/attachments', nfs_src_dir: 'fedora_app/app/attachments' }
|
||||
- mediawiki
|
||||
|
||||
tasks:
|
||||
|
||||
Reference in New Issue
Block a user