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
|
name: docker
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Docker login
|
#- name: Docker login
|
||||||
ansible.builtin.shell: docker login -u {{ docker_username }} -p {{ docker_password }}
|
# ansible.builtin.shell: docker login -u {{ docker_username }} -p {{ docker_password }}
|
||||||
|
|
||||||
- name: Docker pull hello-world
|
- name: Docker pull hello-world
|
||||||
ansible.builtin.shell: docker pull ritualnetwork/hello-world-infernet:latest
|
ansible.builtin.shell: docker pull ritualnetwork/hello-world-infernet:latest
|
||||||
@ -306,5 +306,5 @@
|
|||||||
state: started
|
state: started
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
|
||||||
- name: Remove docker login credentials
|
#- name: Remove docker login credentials
|
||||||
ansible.builtin.shell: rm -rf /root/.docker/config.json
|
# ansible.builtin.shell: rm -rf /root/.docker/config.json
|
||||||
|
Loading…
Reference in New Issue
Block a user