Skip to content

Commit 07d1722

Browse files
authored
chmod oc-mirror once (#299)
1 parent 7a45b1b commit 07d1722

3 files changed

Lines changed: 5 additions & 10 deletions

File tree

playbooks/tasks/download_control_binaries.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@
6262
dest: "{{ workingDir }}/bin/"
6363
remote_src: true
6464

65+
- name: Change oc-mirror permissions
66+
ansible.builtin.file:
67+
path: "{{ workingDir }}/bin/oc-mirror"
68+
mode: "0755"
69+
6570
- name: Download clairctl
6671
ansible.builtin.get_url:
6772
url: "{{ control_binaries.clairctl.url }}"

playbooks/tasks/mirror_cache.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929
src: ../../templates/imagesetconfiguration.yaml.j2
3030
dest: "{{ workingDir }}/config/imagesetconfiguration-cache.yaml"
3131

32-
- name: Change oc-mirror permissions
33-
ansible.builtin.file:
34-
path: "{{ workingDir }}/bin/oc-mirror"
35-
mode: "0755"
36-
3732
- name: Ensure oc-mirror log directory exists
3833
ansible.builtin.file:
3934
path: "{{ workingDir }}/logs/"

playbooks/tasks/mirror_registry.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@
4141
src: ../../templates/imagesetconfiguration.yaml.j2
4242
dest: "{{ workingDir }}/config/imagesetconfiguration.yaml"
4343

44-
- name: Change oc-mirror permissions
45-
ansible.builtin.file:
46-
path: "{{ workingDir }}/bin/oc-mirror"
47-
mode: "0755"
48-
4944
- name: Ensure oc-mirror log directory exists
5045
ansible.builtin.file:
5146
path: "{{ workingDir }}/logs/"

0 commit comments

Comments
 (0)