|
@ -7,17 +7,23 @@ |
|
|
|
|
|
|
|
|
tasks: |
|
|
tasks: |
|
|
|
|
|
|
|
|
# # ------------------------ |
|
|
# ------------------------ |
|
|
# # cp update file mongo keys |
|
|
# cp update file mongo keys |
|
|
# # ------------------------- |
|
|
# ------------------------- |
|
|
# - name: cp mongo update file |
|
|
- name: cp mongo update file |
|
|
# become: true |
|
|
become: true |
|
|
# copy: |
|
|
copy: |
|
|
# src: "./files/mongo-update.sh" |
|
|
src: "./files/mongo-update.sh" |
|
|
# dest: /project/mongo-update.sh |
|
|
dest: /project/mongo-update.sh |
|
|
# owner: docker |
|
|
owner: docker |
|
|
# group: docker |
|
|
group: docker |
|
|
# mode: 0755 |
|
|
mode: 0755 |
|
|
|
|
|
|
|
|
|
|
|
# ------------------------ |
|
|
|
|
|
# start update.sh |
|
|
|
|
|
# ------------------------- |
|
|
|
|
|
- name: start mongo update file |
|
|
|
|
|
shell: /project/mongo-update.sh |
|
|
|
|
|
|
|
|
- name: apt mongo key |
|
|
- name: apt mongo key |
|
|
become: true |
|
|
become: true |
|
@ -31,12 +37,6 @@ |
|
|
repo: deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse |
|
|
repo: deb http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse |
|
|
state: present |
|
|
state: present |
|
|
|
|
|
|
|
|
# # ------------------------ |
|
|
|
|
|
# # start update.sh |
|
|
|
|
|
# # ------------------------- |
|
|
|
|
|
# - name: start mongo update file |
|
|
|
|
|
# shell: /project/mongo-update.sh |
|
|
|
|
|
|
|
|
|
|
|
# ------------------------ |
|
|
# ------------------------ |
|
|
# apt update |
|
|
# apt update |
|
|
# ------------------------- |
|
|
# ------------------------- |
|
|