diff --git a/roles/prepare-docs-for-afs/tasks/tagged.yaml b/roles/prepare-docs-for-afs/tasks/tagged.yaml index ee6da208..e3bd12dd 100644 --- a/roles/prepare-docs-for-afs/tasks/tagged.yaml +++ b/roles/prepare-docs-for-afs/tasks/tagged.yaml @@ -4,10 +4,8 @@ # docs are always the latest release with older tags available under the # root in the tagname dir. - name: Copy content to the temporary location - copy: - remote_src: true - src: "{{ doc_build_dir }}/html" - dest: "{{ doc_build_dir }}/tmp" + # remote_src copy does not work recursively, using command + command: cp -a {{ doc_build_dir }}/html {{ doc_build_dir }}/tmp - name: Make destination path file: diff --git a/roles/prepare-infra-docs-for-afs/tasks/tagged.yaml b/roles/prepare-infra-docs-for-afs/tasks/tagged.yaml index 06fac6d9..1ac81d33 100644 --- a/roles/prepare-infra-docs-for-afs/tasks/tagged.yaml +++ b/roles/prepare-infra-docs-for-afs/tasks/tagged.yaml @@ -4,10 +4,8 @@ # docs are always the latest release with older tags available under the # root in the tagname dir. - name: Copy content to the temporary location - copy: - remote_src: true - src: "{{ doc_build_dir }}/html" - dest: "{{ doc_build_dir }}/tmp" + # remote_src copy does not work recursively, using command + command: cp -a {{ doc_build_dir }}/html {{ doc_build_dir }}/tmp - name: Make destination path file: