remove unused

This commit is contained in:
vvzvlad 2024-09-22 00:50:19 +03:00
parent 9be7df6bcf
commit c0502193b2

View File

@ -106,36 +106,36 @@
name: web3
extra_args: --break-system-packages
- name: Install Docker
ansible.builtin.shell: curl -sL https://get.docker.com | sudo sh -
- name: Update Docker daemon configuration for journald logging
ansible.builtin.copy:
dest: /etc/docker/daemon.json
content: |
{ "log-driver": "journald" }
- name: Restart Docker
ansible.builtin.service:
name: docker
state: restarted
# - name: Install Docker
# ansible.builtin.shell: curl -sL https://get.docker.com | sudo sh -
#
# - name: Update Docker daemon configuration for journald logging
# ansible.builtin.copy:
# dest: /etc/docker/daemon.json
# content: |
# { "log-driver": "journald" }
#
# - name: Restart Docker
# ansible.builtin.service:
# name: docker
# state: restarted
- name: Docker login
ansible.builtin.shell: docker login -u {{ docker_username }} -p {{ docker_password }}
- name: Update journald log SystemMaxUse=2G configuration
ansible.builtin.lineinfile:
path: /etc/systemd/journald.conf
regexp: '^SystemMaxUse='
line: 'SystemMaxUse=2G'
state: present
backup: yes
validate: 'journaldctl check-config %s'
- name: Restart journald
ansible.builtin.service:
name: systemd-journald
state: restarted
# - name: Update journald log SystemMaxUse=2G configuration
# ansible.builtin.lineinfile:
# path: /etc/systemd/journald.conf
# regexp: '^SystemMaxUse='
# line: 'SystemMaxUse=2G'
# state: present
# backup: yes
# validate: 'journaldctl check-config %s'
#
# - name: Restart journald
# ansible.builtin.service:
# name: systemd-journald
# state: restarted
- name: Setup Foundry
ansible.builtin.shell: |