remove unused
This commit is contained in:
parent
9be7df6bcf
commit
c0502193b2
52
playbook.yml
52
playbook.yml
@ -106,36 +106,36 @@
|
|||||||
name: web3
|
name: web3
|
||||||
extra_args: --break-system-packages
|
extra_args: --break-system-packages
|
||||||
|
|
||||||
- name: Install Docker
|
# - name: Install Docker
|
||||||
ansible.builtin.shell: curl -sL https://get.docker.com | sudo sh -
|
# ansible.builtin.shell: curl -sL https://get.docker.com | sudo sh -
|
||||||
|
#
|
||||||
- name: Update Docker daemon configuration for journald logging
|
# - name: Update Docker daemon configuration for journald logging
|
||||||
ansible.builtin.copy:
|
# ansible.builtin.copy:
|
||||||
dest: /etc/docker/daemon.json
|
# dest: /etc/docker/daemon.json
|
||||||
content: |
|
# content: |
|
||||||
{ "log-driver": "journald" }
|
# { "log-driver": "journald" }
|
||||||
|
#
|
||||||
- name: Restart Docker
|
# - name: Restart Docker
|
||||||
ansible.builtin.service:
|
# ansible.builtin.service:
|
||||||
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: Update journald log SystemMaxUse=2G configuration
|
# - name: Update journald log SystemMaxUse=2G configuration
|
||||||
ansible.builtin.lineinfile:
|
# ansible.builtin.lineinfile:
|
||||||
path: /etc/systemd/journald.conf
|
# path: /etc/systemd/journald.conf
|
||||||
regexp: '^SystemMaxUse='
|
# regexp: '^SystemMaxUse='
|
||||||
line: 'SystemMaxUse=2G'
|
# line: 'SystemMaxUse=2G'
|
||||||
state: present
|
# state: present
|
||||||
backup: yes
|
# backup: yes
|
||||||
validate: 'journaldctl check-config %s'
|
# validate: 'journaldctl check-config %s'
|
||||||
|
#
|
||||||
- name: Restart journald
|
# - name: Restart journald
|
||||||
ansible.builtin.service:
|
# ansible.builtin.service:
|
||||||
name: systemd-journald
|
# name: systemd-journald
|
||||||
state: restarted
|
# state: restarted
|
||||||
|
|
||||||
- name: Setup Foundry
|
- name: Setup Foundry
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
|
Loading…
Reference in New Issue
Block a user