Skip to content

Commit

Permalink
fix: run backup task only when specified
Browse files Browse the repository at this point in the history
  • Loading branch information
giem-git authored and rpignolet committed Jan 5, 2024
1 parent 863e321 commit 7ffd1a6
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 46 deletions.
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

0 comments on commit 7ffd1a6

Please sign in to comment.