remove storage piece, do it in play

This commit is contained in:
nazunalika 2021-01-24 14:57:49 -07:00
parent 6af589fbf1
commit 638f124007
3 changed files with 3 additions and 6 deletions

View File

@ -10,8 +10,5 @@
- name: Create the users for kojid
import_tasks: users.yml
- name: Ensure Storage is ready
import_tasks: storage.yml
- name: Configure kojid
import_tasks: config.yml

View File

@ -14,4 +14,4 @@
src: "{{ kojid_nfs_path }}"
fstype: nfs
state: mounted
when: koji_nfs
when: kojid_nfs|bool

View File

@ -36,7 +36,7 @@
authorized_key:
user: mockbuilder
key: "{{ mockbuilder_pub_key }}"
when: mockbuilder_pub_key
when: mockbuilder_pub_key is defined
- name: kojibuilder user
user:
@ -47,7 +47,7 @@
authorized_key:
user: kojibuilder
key: "{{ kojibuilder_pub_key }}"
when: kojibuilder_pub_key
when: kojibuilder_pub_key is defined
# We need the apache user for NFS
- name: apache group