Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update for EG 1.5 version
[ealt-edge.git]
/
ocd
/
infra
/
playbooks
/
roles
/
egallery-tar
/
tasks
/
install.yml
diff --git
a/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml
b/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml
index
ee01a08
..
8a521e8
100644
(file)
--- a/
ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml
+++ b/
ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml
@@
-12,7
+12,6
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
----
- name: Create directory to download EG-TAR
command: mkdir -p /tmp/eg_download/deploy
- name: Create directory to download EG-TAR
command: mkdir -p /tmp/eg_download/deploy
@@
-20,37
+19,45
@@
chdir: "{{playbook_dir}}"
ignore_errors: yes
chdir: "{{playbook_dir}}"
ignore_errors: yes
-- name: Download 1.
1
edgegallery x86
+- name: Download 1.
5.0
edgegallery x86
# yamllint disable rule:line-length
# yamllint disable rule:line-length
- command: wget http
s://edgegallery.obs.cn-east-3.myhuaweicloud.com/releases/v1.1/x86/EdgeGallery-v1.1
-all-x86.tar.gz
+ command: wget http
://edgegallery-v1.5.0.obs.cn-north-4.myhuaweicloud.com/x86/EdgeGallery-v1.5.0
-all-x86.tar.gz
# yamllint disable rule:line-length
args:
chdir: /tmp/eg_download/deploy/
when: ansible_architecture == 'x86_64'
- name: Untar Edgegallery offline tarbal file
# yamllint disable rule:line-length
args:
chdir: /tmp/eg_download/deploy/
when: ansible_architecture == 'x86_64'
- name: Untar Edgegallery offline tarbal file
- command: tar -xvf EdgeGallery-v1.
1
-all-x86.tar.gz
+ command: tar -xvf EdgeGallery-v1.
5.0
-all-x86.tar.gz
args:
chdir: /tmp/eg_download/deploy/
when: ansible_architecture == 'x86_64'
- name: Set inventory file for aio
args:
chdir: /tmp/eg_download/deploy/
when: ansible_architecture == 'x86_64'
- name: Set inventory file for aio
- command: cp hosts-aio /tmp/eg_download/deploy/
ansible-all-x86-latest
/install
+ command: cp hosts-aio /tmp/eg_download/deploy/
EdgeGallery-v1.5.0-all-x86
/install
args:
chdir: "{{playbook_dir}}"
when: ansible_architecture == 'x86_64'
- name: Set var.yml to eg path
# yamllint disable rule:line-length
args:
chdir: "{{playbook_dir}}"
when: ansible_architecture == 'x86_64'
- name: Set var.yml to eg path
# yamllint disable rule:line-length
- command: cp var.yml /tmp/eg_download/deploy/
ansible-all-x86-latest
/install
+ command: cp var.yml /tmp/eg_download/deploy/
EdgeGallery-v1.5.0-all-x86
/install
# yamllint disable rule:line-length
args:
chdir: "{{playbook_dir}}"
when: ansible_architecture == 'x86_64'
- name: Set default-var.yml to eg path
# yamllint disable rule:line-length
args:
chdir: "{{playbook_dir}}"
when: ansible_architecture == 'x86_64'
- name: Set default-var.yml to eg path
+ # yamllint disable rule:line-length
+ command: cp default-var.yml /tmp/eg_download/deploy/EdgeGallery-v1.5.0-all-x86/install
# yamllint disable rule:line-length
# yamllint disable rule:line-length
- command: cp default-var.yml /tmp/eg_download/deploy/ansible-all-x86-latest/install
+ args:
+ chdir: "{{playbook_dir}}"
+ when: ansible_architecture == 'x86_64'
+
+- name: Set password-var.yml to eg path
+ # yamllint disable rule:line-length
+ command: cp password-var.yml /tmp/eg_download/deploy/EdgeGallery-v1.5.0-all-x86/install
# yamllint disable rule:line-length
args:
chdir: "{{playbook_dir}}"
# yamllint disable rule:line-length
args:
chdir: "{{playbook_dir}}"