Skip to content
Snippets Groups Projects
Commit f5f7b32a authored by Stephane Armanet's avatar Stephane Armanet
Browse files

add infra software repo

parent e73d9ef3
Branches master
Tags v0.2.10
No related merge requests found
Pipeline #186724 failed
......@@ -19,6 +19,9 @@ pss_nas_software_files:
mps_nas_software_repo_url: https://artifactory.esss.lu.se/artifactory/list/MPS-Softwares/
mps_nas_software_files:
- test.zip
infra_nas_software_repo_url: https://artifactory.esss.lu.se/artifactory/list/PSSMPS-InfraSoftwares/
infra_nas_software_files:
- test.zip
pss_nas_softs_owner: root
pss_bastion_host: pss_bastion_01.tn.esss.lu.se
......
---
- name: add a software folder for PSS and MPS
- name: add a software folder for PSS and MPS and infra
file:
path: "/softwares/{{ item }}"
owner: "{{ pss_nas_softs_owner }}"
......@@ -9,6 +9,7 @@
with_items:
- mps
- pss
- infra
- name: download PSS softwares
get_url:
......@@ -28,6 +29,15 @@
url_password: "{{ pss_soft_artifactory_password }}"
with_items: "{{ mps_nas_software_files }}"
- name: download INFRA softwares
get_url:
url: "{{ infra_nas_software_repo_url }}/{{ item }}"
dest: "/softwares/infra/{{ item }}"
mode: 0444
url_username: pss-soft-user
url_password: "{{ pss_soft_artifactory_password }}"
with_items: "{{ infra_nas_software_files }}"
- name: add uploads folder
file:
path: /uploads
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment