Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .ansible-lint-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,24 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

roles/auto_repo_mirror/defaults/main.yml var-naming[no-role-prefix] skip
roles/auto_repo_mirror/tasks/inject.yml ignore-errors skip
roles/auto_repo_mirror/tasks/inject.yml yaml[line-length] skip
roles/auto_repo_mirror/tasks/inject.yml fqcn[action-core]s skip
roles/auto_repo_mirror/tasks/inject.yml risky-file-permissions skip
roles/auto_repo_mirror/tasks/inject.yml fqcn[action-core] skip
roles/auto_repo_mirror/tasks/inject.yml jinja[spacing][/] skip
roles/auto_repo_mirror/tasks/inject.yml jinja[spacing][/] skip
roles/auto_repo_mirror/tasks/inject.yml yaml[line-length] skip
roles/auto_repo_mirror/tasks/inject.yml:104: yaml[line-length] skip
roles/auto_repo_mirror/tasks/inject.yml:134: jinja[spacing][/] skip
roles/auto_repo_mirror/tasks/parse_definition_for_mirror_targets.yml yaml[line-length] skip
roles/auto_repo_mirror/tasks/parse_definition_for_mirror_targets.yml yaml[line-length] skip
roles/auto_repo_mirror/tasks/parse_definition_for_mirror_targets.yml:104: yaml[line-length] skip
roles/auto_repo_mirror/tasks/populate_from_upstream.yml risky-file-permissions skip
roles/auto_repo_mirror/tasks/populate_from_upstream.yml risky-file-permissions skip
roles/auto_repo_mirror/tasks/populate_from_upstream.yml ignore-errors skip
roles/auto_repo_mirror/tasks/update_mirror_cache.yml yaml[line-length] skip
roles/auto_repo_mirror/tasks/update_mirror_cache.yml risky-file-permissions skip
roles/auto_repo_mirror/vars/main.yml var-naming[no-role-prefix] skip
4 changes: 4 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ plugin_routing:
removal_version: 4.0.0
warning_text: Please update references to the renamed role, cloudera.exe.blackbox_exporter
redirect: cloudera.exe.blackbox_exporter
auto_repo_mirror:
deprecation:
removal_version: 4.0.0
warning_text: Role, auto_repo_mirror, is not longer supported.
3 changes: 3 additions & 0 deletions roles/auto_repo_mirror/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
-->

# auto_repo_mirror

> [!WARNING]
> No longer supported and will be removed in version 4.0.0
6 changes: 6 additions & 0 deletions roles/auto_repo_mirror/tasks/inject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

- name: Deprecation warning
run_once: true
cloudera.exe.deprecation:
msg: "Role, {{ ansible_role_name }}, is no longer supported."
version: 4.0.0

- name: Check if Download Mirror cache file exists
register: __auto_repo_mirror_file_stat
ansible.builtin.stat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

- name: Deprecation warning
run_once: true
cloudera.exe.deprecation:
msg: "Role, {{ ansible_role_name }}, is no longer supported."
version: 4.0.0

# Read in cluster definition without jinja parsing=
- name: Fetch repositories from cluster definition
ansible.builtin.set_fact:
Expand Down
6 changes: 6 additions & 0 deletions roles/auto_repo_mirror/tasks/populate_from_upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

- name: Deprecation warning
run_once: true
cloudera.exe.deprecation:
msg: "Role, {{ ansible_role_name }}, is no longer supported."
version: 4.0.0

- name: Ensure paths exist for File downloads to match required object structure [ will retry while utility VM boots ]
loop: "{{ globals.auto_repo_mirror_targets }}"
loop_control:
Expand Down
7 changes: 7 additions & 0 deletions roles/auto_repo_mirror/tasks/prepare_auto_repo_mirror.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---

- name: Deprecation warning
run_once: true
cloudera.exe.deprecation:
msg: "Role, {{ ansible_role_name }}, is no longer supported."
version: 4.0.0

- name: Fetch necessary variables from Ansible Controller
ansible.builtin.set_fact:
globals: "{{ hostvars['localhost']['globals'] }}"
Expand Down
7 changes: 7 additions & 0 deletions roles/auto_repo_mirror/tasks/update_mirror_cache.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---

- name: Deprecation warning
run_once: true
cloudera.exe.deprecation:
msg: "Role, {{ ansible_role_name }}, is no longer supported."
version: 4.0.0

- name: Refresh Listing of target cache contents
when:
- init__auto_repo_mirror_bucket_name is defined
Expand Down
Loading