Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: run backup task only when specified #825

Merged
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
3 changes: 1 addition & 2 deletions roles/hadoop/client/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
owner: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hbase/client/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hbase-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hbase/master/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hbase-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hbase/phoenix/queryserver/client/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hbase-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hbase/phoenix/queryserver/daemon/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hbase-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hbase/regionserver/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hbase-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hbase/rest/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hbase-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hdfs/datanode/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
owner: "{{ hdfs_user }}"
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hdfs/httpfs/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
owner: "{{ hdfs_user }}"
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hdfs/journalnode/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
owner: "{{ hdfs_user }}"
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hdfs/namenode/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
owner: "{{ hdfs_user }}"
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hive/client/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Create hive credentials store
ansible.builtin.command: >-
Expand Down
3 changes: 1 addition & 2 deletions roles/hive/hiveserver2/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hive-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/hive/metastore/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Create hive credentials store
ansible.builtin.import_role:
Expand Down
3 changes: 1 addition & 2 deletions roles/knox/gateway/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Copy services definition to data directory
ansible.builtin.copy:
Expand Down
3 changes: 1 addition & 2 deletions roles/spark/client/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template spark-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/spark/historyserver/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template spark-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/yarn/apptimelineserver/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/yarn/jobhistoryserver/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/yarn/nodemanager/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/yarn/resourcemanager/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
group: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template hadoop-env.sh
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/zookeeper/client/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
owner: root
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template zoo.cfg
ansible.builtin.template:
Expand Down
3 changes: 1 addition & 2 deletions roles/zookeeper/server/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
owner: "{{ zookeeper_user }}"
mode: "755"
remote_src: true
tags:
- backup
tags: ['backup', 'never']

- name: Template zoo.cfg
ansible.builtin.template:
Expand Down
Loading