Comment out Docker login and credential removal steps in playbook.yml for security reasons, ensuring sensitive information is not exposed in the playbook.
This commit is contained in:
parent
04d44aeadf
commit
15f277057e
@ -137,8 +137,8 @@
|
||||
name: docker
|
||||
state: restarted
|
||||
|
||||
- name: Docker login
|
||||
ansible.builtin.shell: docker login -u {{ docker_username }} -p {{ docker_password }}
|
||||
#- name: Docker login
|
||||
# ansible.builtin.shell: docker login -u {{ docker_username }} -p {{ docker_password }}
|
||||
|
||||
- name: Docker pull hello-world
|
||||
ansible.builtin.shell: docker pull ritualnetwork/hello-world-infernet:latest
|
||||
@ -306,5 +306,5 @@
|
||||
state: started
|
||||
daemon_reload: yes
|
||||
|
||||
- name: Remove docker login credentials
|
||||
ansible.builtin.shell: rm -rf /root/.docker/config.json
|
||||
#- name: Remove docker login credentials
|
||||
# ansible.builtin.shell: rm -rf /root/.docker/config.json
|
||||
|
Loading…
Reference in New Issue
Block a user