buildvm / staging: only run fasClient and sudo in production
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
d6c6500581
commit
3e65ed07b4
1 changed files with 4 additions and 4 deletions
|
@ -58,8 +58,8 @@
|
|||
nfs_src_dir: 'fedora_ostree_content_stg/compose/ostree'
|
||||
when: env == 'staging' and 'runroot' in group_names and not inventory_hostname.startswith('buildvm-s390x')
|
||||
|
||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') }
|
||||
- { role: sudo, when: not inventory_hostname.startswith('bkernel') }
|
||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
||||
- { role: sudo, when: not inventory_hostname.startswith('bkernel') and env == 'production' }
|
||||
- koji_builder
|
||||
- role: keytab/service
|
||||
kt_location: /etc/kojid/kojid.keytab
|
||||
|
@ -86,9 +86,9 @@
|
|||
|
||||
tasks:
|
||||
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||
when: not inventory_hostname.startswith('bkernel')
|
||||
when: not inventory_hostname.startswith('bkernel') and env == 'production'
|
||||
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||
when: not inventory_hostname.startswith('bkernel')
|
||||
when: not inventory_hostname.startswith('bkernel') and env == 'production'
|
||||
|
||||
# - name: make sure kojid is running
|
||||
# service: name=kojid state=started enabled=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue