summaryrefslogtreecommitdiffstats
path: root/roles/clients/tasks/mock.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/clients/tasks/mock.yml')
-rw-r--r--roles/clients/tasks/mock.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/clients/tasks/mock.yml b/roles/clients/tasks/mock.yml
new file mode 100644
index 0000000..04190ca
--- /dev/null
+++ b/roles/clients/tasks/mock.yml
@@ -0,0 +1,14 @@
+- name: Ajout des fichiers de config mock
+ copy:
+ src: {{ item }}
+ dest: /etc/mock/{{ item }}
+ owner: root
+ group: mock
+ mode: 0644
+ with_items: "{{ mockconf }}"
+
+- name: Configuration par défaut
+ file:
+ src: /etc/mock/mock_config-fc{{ ansible_distribution_version }}x-by_remi.cfg
+ dest: /etc/mock/default.cfg
+ state: link