mirror of
https://github.com/rocky-linux/ansible-role-kojid.git
synced 2024-11-25 06:31:30 +00:00
remove storage piece, do it in play
This commit is contained in:
parent
6af589fbf1
commit
638f124007
@ -10,8 +10,5 @@
|
|||||||
- name: Create the users for kojid
|
- name: Create the users for kojid
|
||||||
import_tasks: users.yml
|
import_tasks: users.yml
|
||||||
|
|
||||||
- name: Ensure Storage is ready
|
|
||||||
import_tasks: storage.yml
|
|
||||||
|
|
||||||
- name: Configure kojid
|
- name: Configure kojid
|
||||||
import_tasks: config.yml
|
import_tasks: config.yml
|
||||||
|
@ -14,4 +14,4 @@
|
|||||||
src: "{{ kojid_nfs_path }}"
|
src: "{{ kojid_nfs_path }}"
|
||||||
fstype: nfs
|
fstype: nfs
|
||||||
state: mounted
|
state: mounted
|
||||||
when: koji_nfs
|
when: kojid_nfs|bool
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
authorized_key:
|
authorized_key:
|
||||||
user: mockbuilder
|
user: mockbuilder
|
||||||
key: "{{ mockbuilder_pub_key }}"
|
key: "{{ mockbuilder_pub_key }}"
|
||||||
when: mockbuilder_pub_key
|
when: mockbuilder_pub_key is defined
|
||||||
|
|
||||||
- name: kojibuilder user
|
- name: kojibuilder user
|
||||||
user:
|
user:
|
||||||
@ -47,7 +47,7 @@
|
|||||||
authorized_key:
|
authorized_key:
|
||||||
user: kojibuilder
|
user: kojibuilder
|
||||||
key: "{{ kojibuilder_pub_key }}"
|
key: "{{ kojibuilder_pub_key }}"
|
||||||
when: kojibuilder_pub_key
|
when: kojibuilder_pub_key is defined
|
||||||
|
|
||||||
# We need the apache user for NFS
|
# We need the apache user for NFS
|
||||||
- name: apache group
|
- name: apache group
|
||||||
|
Loading…
Reference in New Issue
Block a user