summaryrefslogtreecommitdiffstats
path: root/sw_config/bmra/dockerhub_credentials/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'sw_config/bmra/dockerhub_credentials/tasks')
-rw-r--r--sw_config/bmra/dockerhub_credentials/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw_config/bmra/dockerhub_credentials/tasks/main.yml b/sw_config/bmra/dockerhub_credentials/tasks/main.yml
new file mode 100644
index 0000000..6531df8
--- /dev/null
+++ b/sw_config/bmra/dockerhub_credentials/tasks/main.yml
@@ -0,0 +1,8 @@
+---
+- name: Add Docker hub credentials on target nodes
+ docker_login:
+ username: "{{ dhub_user }}"
+ password: "{{ dhub_pass }}"
+ email: "{{ dhub_email }}"
+ registry_url: "{{ dhub_reg_url }}"
+ no_log: True